node.js - How do I fix npm's global location? -



node.js - How do I fix npm's global location? -

when run

npm ls -g

i back

-> /usr/local/lib64/usr/local/bin (empty)

which incorrect. using locate can see global modules installed @ /usr/lib64/node_modules. how go correcting issue? (i'm running gentoo amd64.)

npm uses .npmrc file should in home directory. (ie ~/.npmrc) in file should see key value pair key beingness "prefix". seek setting value "/usr/lib64". .npmrc file have next in add-on whatever else set in it:

prefix = /usr/lib64

node.js npm

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -