首页 > 其他 > 详细

express@4.0.*

时间:2014-10-26 22:51:07      阅读:412      评论:0      收藏:0      [点我收藏+]

$ sudo npm install -g express the installation goes fine. But when I try to create a project with express as $ express myProject I get an error saying

    : The program ‘express‘ is currently not installed. You can install it by typing: sudo apt-get install node-express

 

The new version of Express (4.0) does not itself have a bin folder. You have to install express-generator to get the setup functionality.

You are not doing anything wrong. Express has just changed the way it works. Have a look at this answer.

With Express 4, the application generator was removed and is now available as ‘express-generator.‘ So you need to npm install -g express-generator instead.

 

express@4.0.*

原文:http://www.cnblogs.com/yiliweichinasoft/p/4052861.html

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