npm should be run outside of the Node.js REPL, in your normal shell.

当你下好了node.js后,在命令行输入nmp init vue@latest后是不是出现了npm should be run outside of the Node.js REPL, in your normal shell.这样的反馈npm should be run outside of the Node.js REPL, in your normal shell._第1张图片

 npm should be run outside of the Node.js REPL, in your normal shell._第2张图片

 其实意思就是你应该在自己的cmd里面运行这个命令

所以,打开你的cmd,然后输入这个命令,你就会得到结果了

npm should be run outside of the Node.js REPL, in your normal shell._第3张图片

 如果能帮到你,那是我的荣幸。

你可能感兴趣的:(npm,node.js,vue.js)