grunt-init icon indicating copy to clipboard operation
grunt-init copied to clipboard

.grunt-init directory missing in Windows

Open vincelawdev opened this issue 10 years ago • 5 comments

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.

image

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.

vincelawdev avatar Mar 19 '14 23:03 vincelawdev

Can you create a .grunt-init directory?

JoshOldenburg avatar May 24 '14 13:05 JoshOldenburg

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.

LearnVisualStudio avatar Feb 26 '15 19:02 LearnVisualStudio

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.

elideleon avatar Jul 01 '15 16:07 elideleon

If you would like to make the directory you can do so with the command line...

  1. Press windows button and type 'cmd' then press enter
  2. type 'cd path/to/directory' (where path/to/directory is something like c:/users/vincelaw) into command line
  3. type 'mkdir .grunt-init'

Your directory will be created.

jshaw-cm avatar Jan 05 '16 21:01 jshaw-cm

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.

GeorgeWL avatar Jul 31 '17 13:07 GeorgeWL