首页 > 其他 > 详细

Express安装后出现command not found问题

时间:2015-09-17 19:15:36      阅读:114      评论:0      收藏:0      [点我收藏+]

Express安装后出现command not found问题
安装Node.js的web框架Express:npm install -g express,键入命令:express –help,出现提示:sh: express: command not found。明明安装了express,但却告知不能命令运行express。
显示command not found
解决方案
在安装express时增加generator参数:npm install -g express-generator
命令解释
npm 调取npm包工具
install 安装
express-generator express生成工具
-g 全局

Express安装后出现command not found问题

原文:http://www.cnblogs.com/tuluxmu/p/4816833.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!