-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grunt-init is not added to PATH #29
Comments
Try |
When installing grunt-init as you said, npm ls ... returns /usr/local/lib But I figured out it is because that normal /usr/local/lib ...and grunt-init can be executed in the console. Fine! Is there a npm setting or such, to always install the latest stuff, or development packages.... like in this case? |
Ah I see, glad it's working for you now. FWIW, this won't be an issue once Grunt v0.4 is released ;) AFAIK, there isn't a way with npm as it can't tell which version is which. If the author uses tags, you could do |
I would recommend to update the documentation to be more specific on this issue.... or is it only me who's so dopey to run into something like this? |
Fairly soon the release candidate will be released as |
When installing grunt-init, it is not added to the PATH as said in the documentation. Installing it as a regular user or with sudo makes no difference. I check
/etc/paths
,/etc/paths.d/
and~/.bash_profile
but there's no new entry added.There is no
bin
folder in/usr/local/lib/node_modules/grunt-init
and thus no symlink in/usr/local/bin
or/usr/local/lib/node_modules/.bin
to start the grunt-init task.I'm working on a Mac, but apparently it seems to be also on Windows, as a new post on stackoverflow implies: http://stackoverflow.com/questions/14071915/grunt-init-not-recognised-added-to-path-windows
Just to say: I use dotfiles (http://dotfiles.github.com) and chown'ed the /usr/local/lib/node_modules to be owned by my user. These are the two things I can think off, that might relate with this issue.
The text was updated successfully, but these errors were encountered: