Thursday, 1 June 2017

Issue with ~/.profile after fixing NPM permissions

Installed Node.js on OS X. Fixed the permissions (i.e. sudo required) issue by changing NPM's default directory (https://docs.npmjs.com/getting-started/fixing-npm-permissions see Option 2). However, after booting up commands like grunt are not available until I run source ~/.profile.

Any way to avoid this hassle?



via Jason

No comments:

Post a Comment