Can someone tell me where can I find the Node.js modules, which I installed using npm
?
I was beginning to going mad searching the real configuration, so here is the all list of configuration files on linux:
on windows: - c/Program\ Files/nodejs/node_modules/npm/npmrc
Then in the file the prefix is configured:
prefix=/usr
The prefix is defaulted to /usr in linux, to ${APPDATA}\npm in windows
The node modules are under $prefix tree, and the path should contain $prefix/bin
There may be a problem :
/root/.npmrc
may be used! /home/youruser/.npmrc
.npm set -g prefix /usr
it sets the /etc/npmrc global, but doesn't override the localHere is all the informations that were missing to find what is configured where. Hope I have been exhaustive.