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

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -