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

首先给大家分享一个巨牛巨牛的人工智能教程,是我无意中发现的。教程不仅零基础,通俗易懂,而且非常风趣幽默,还时不时有内涵段子,像看小说一样,哈哈~我正在学习中,觉得太牛了,所以分享给大家!点这里可以跳转到教程

               

在node.js自带的界面运行出来的效果:

npm should be run outside of the node repl in your normal s_第1张图片

在Windows中的cmd运行出来的效果:

npm should be run outside of the node repl in your normal s_第2张图片

也就是说,想要运行node命令,需要在系统的shell中,比如windows的cmd。node自带的那个叫repl,不能在其中运行npm命令,只能运行js语句

需要在其它的CMD文件命令行下运行

npm install -g BrowserSync即可;

           

浏览人工智能教程

你可能感兴趣的:(npm should be run outside of the node repl in your normal s)