gruntjs / grunt-init

Generate project scaffolding from a template.
http://gruntjs.com/project-scaffolding
MIT License
193 stars 58 forks source link

.grunt-init directory missing in Windows #78

Open vincelawdev opened 10 years ago

vincelawdev commented 10 years ago

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.

JoshOldenburg commented 10 years ago

Can you create a .grunt-init directory?

LearnVisualStudio commented 9 years ago

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.

elideleon commented 9 years ago

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.

jshaw-cm commented 8 years ago

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.

GeorgeWL commented 7 years ago

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.