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 -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -