npm should be run outside of the node repl, in your normal shell
npm should be run outside of the node repl, in your normal shell
不要在命令里先空白输入:node,然后在node的REPL(交互式解释器)里执行你的安装命令;
现在ctrl + c(两遍),退出REPL(交互式解释器),然后在再执行你的安装命令:
npm install jade
好了
3 回答966 阅读✓ 已解决
3.4k 阅读
2 回答496 阅读✓ 已解决
1 回答777 阅读
1 回答630 阅读
2 回答492 阅读
584 阅读
不要在
node.exe里面跑npm install,在cmd.exe里面跑。windows里面的normal shell指的是cmd.exe。