答案 0 :(得分:1)
我遇到了http://abdelraoof.com/blog/2014/11/11/install-nodejs-without-admin-rights/。在Constantino的底部注释中补充道:
1 - extracted npm-3.5.2.zip
2 - created a node_modules directory in the same directory where node.exe is
3 - renamed the extracted directory from npm-3.5.2 to npm
4 - moved npm directory to node_modules
5 - copied npm.cmd (because I am using Windows) to the same directory where node.exe is
At the end I only needed to add one entry in the classpath.
这对我在胜利7中起作用。我希望这会对某人有所帮助。