用指令:npm install express -g指令

得到:

在用npm时,前端项目必须要有node_modules文件夹

 

 

不然就会报说找不到 package.json啥的。

相关文章: