Wrong path to templateDir
Hey, I was following along your tutorial that you had over here and I'm not quite sure what is causing it. I think its the templateDir path, since it gives me this error in the terminal:
ERROR Error: ENOENT: no such file or directory, access 'C:\E:\Web%20development\Projects\creator-cli\templates\javascript'.
Notice the C:\E:\. Not sure what is causing it, since I followed your tutorial and this is what turns out. I even copy pasted the whole thing from you, and the same thing again. Same when I tried using your own npm package from this repo.
I'm having the exact same problem. I'm using windows, and I've tried the program in the bash shell, cmd, and powershell.
Found a solution for what I think was the same issue here.
I'm on a Mac and encountered this. I think the problem is the %20. I ended up using this for the url string
decodeURI(new URL(currentFileUrl).pathname)
@mobileben is right on the money, the problem is the %20.
Can we have this implemented in the git repo?