首页 > 代码库 > node.js 安装express 提示 command is not found

node.js 安装express 提示 command is not found

肯定有遇到这样的问题。

在执行express -e app时,出现 command is not found

技术分享

 

此时需要执行 :

$ npm install -g express-generator
技术分享

技术分享

你问我为什么?我也是nodejs初学者

 

node.js 安装express 提示 command is not found