我正在尝试通过教程在我的 Web 服务器上安装 Cloud9,但遇到了一些麻烦。
当我尝试运行命令node bin/cloud9.js 时,我得到:
djent@server:~/ide$ 节点 bin/cloud9.js
node.js:216
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
at Function.<anonymous> (module.js:381:11)
at Object.<anonymous> (/home/djent/ide/support/paths.js:7:8)
at Module.<anonymous> (module.js:444:26)
at Object..js (module.js:462:10)
at Module.load (module.js:351:32)
at Function._load (module.js:309:12)
at Module.require (module.js:357:17)
at require (module.js:373:17)
at Object.<anonymous> (/home/djent/ide/bin/cloud9.js:6:1)
at Module.<anonymous> (module.js:444:26)
djent@server:~/ide$
如何解决?我试图重新安装节点,但它不工作。