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
Post a Comment