错误:npm不适用于netbeans 8.1中的节点v0.10.32

时间:2015-12-30 16:42:07

标签: node.js netbeans npm

enter image description here

嗨,我试图在netbeans中安装npm。点击“解决项目问题'

”后,我得到了以下输出
array_to_string

我该如何解决这个问题?

1 个答案:

答案 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中起作用。我希望这会对某人有所帮助。