node.js - How to install nodejs and npm with Chef so users other than root can use it -


great, i've got node , npm installed chef. can't use unless i'm root because chef root , apparently npm doesn't know how handle that. docs silent on this, , everywhere else i've looked recommends changing permissions of ~/.npm (which mean changing permissions of root user's ~/.npm), feels wrong.

what correct installation procedure allow users on box use npm without getting ton of these errors:

npm err! error: attempt unlock selenium-webdriver@^2.44.0, hasn't been locked 


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -