-
Notifications
You must be signed in to change notification settings - Fork 2k
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
-bash: sails: command not found #630
Comments
export PATH=$PATH:/usr/local/share/npm/bin |
Thanks, it works. I didn't find this step , how do you know it? |
It has more to do with your NPM setup than it does Sails itself. But I guess it couldn't hurt to mention it in the docs. |
you should also do this: https://gist.github.com/mikedevita/6002640. Its not good practice to use Running npm install as sudo can cause file permission issues with some generators such as |
@mikedevita he's not hitting permission issues, he just didn't have npm's bin folder in his path. |
Yeah i know i was just providing more info for him. I had to do the exact same thing when i setup node/npm first time. |
NVM is a great. It doesn't require root permissions and works per-user. |
Thanks guys. I just followed the tutorial at http://sailsjs.org/#!getStarted |
This is install logs
The text was updated successfully, but these errors were encountered: