首页 > 第一次用node.js,准备用Jade模版,但是安装npm过程中出了点问题,请前辈们赐教

第一次用node.js,准备用Jade模版,但是安装npm过程中出了点问题,请前辈们赐教

npm should be run outside of the node repl, in your normal shell


不要在命令里先空白输入:node,然后在nodeREPL(交互式解释器)里执行你的安装命令;

现在ctrl + c(两遍),退出REPL(交互式解释器),然后在再执行你的安装命令:

npm install jade

好了


不要在 node.exe 里面跑 npm install ,在 cmd.exe 里面跑。windows 里面的 normal shell 指的是 cmd.exe

【热门文章】
【热门文章】