grunt-init
grunt-init copied to clipboard
.grunt-init directory missing in Windows
http://gruntjs.com/project-scaffolding
Installing templates Once templates are installed into your ~/.grunt-init/ directory (%USERPROFILE%.grunt-init\ on Windows) they will be available for use via grunt-init.
I don't have a .grunt-init directory in my Windows user directory. I have been able to reproduce this on a Windows 7 and Windows 8.1 machine.
Although, it isn't a big deal to not have the .grunt-init directory because I can use the full path of a grunt-init template in another folder, it would certainly be nice to be able to reference the templates the easy way.
Can you create a .grunt-init directory?
Ran into same issue as OP following the tutorial. As an absolute beginner, I'm struggling to connect the synapses ... any advice on what to do next would be greatly appreciated.
Same issue. I tried creating a .grunt-init directory in my user directory. It wont let me. I thought installing grunt-init would create this directory, but Im not seeing it.
If you would like to make the directory you can do so with the command line...
- Press windows button and type 'cmd' then press enter
- type 'cd path/to/directory' (where path/to/directory is something like c:/users/vincelaw) into command line
- type 'mkdir .grunt-init'
Your directory will be created.
Any idea of the why for this though? Others which require dotfolders seem to not have this issue in the past.
Just installed grunt-init through the usual method and had the same issue, then the instructions from @shawmjustin fixed it.