npm choose global install directory -
i want install npm dependencies package.json in current directory, want install them different directory.
can make setting (install directory of node_modules) project specific, not interfere other projects?
you can try --prefix
.
npm install --prefix new/path/node_modules
https://docs.npmjs.com/misc/config#prefix
note: important, there node_modules folder
Comments
Post a Comment