Wrong path to templateDir
See original GitHub issueHey, 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.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
init-templatedir installing hooks to wrong directory · Issue #1720
I was trying to use the init-templatedir functionality of pre-commit and ran into a weird problem: Using Windows 10, pre-commit 2.9.2, ...
Read more >Set up a default directory structure on git init - Stack Overflow
So what is it that I'm doing wrong here? Incorrect configuration directive? Bad template or its location (I'm on OSX)? Should template be...
Read more >Check the configuration for TemplateDir and TemplatePath?
Hi, I am getting the following error below. I have set the correct path or both the TemplateDir and TemplatePath in the web...
Read more >git-init Documentation - Git
This command creates an empty Git repository - basically a .git directory ... Only print error and warning messages; all other output will...
Read more >template_dir | Resources | hashicorp/template
destination_dir - (Required) Path to the directory where the templated files will be written. vars - (Optional) Variables for interpolation within the template....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m on a Mac and encountered this. I think the problem is the
%20
. I ended up using this for the url stringFound a solution for what I think was the same issue here.