【问题标题】:Yo generator stuck to generate application for a long time哟生成器卡住生成应用程序很长一段时间
【发布时间】:2017-07-30 14:10:51
【问题描述】:

当我要使用 yo meanjs 在 meanjs 中创建应用程序时,它已经坚持了很长时间。

D:\WorkShop\MEAN>yo meanjs
You're using the official MEAN.JS generator.
? What mean.js version would you like to generate? 0.4.0
0.4.0
? In which folder would you like the project to be generated? This can be changed later. mongoapp
Cloning the MEAN repo.......
? What would you like to call your application? mongoapp
? How would you describe your application? Full-Stack JavaScript with MongoDB, Express, AngularJS, and Node.js
? How would you describe your application in comma seperated key words? MongoDB, Express, AngularJS, Node.js
? What is your company/author name? deep
? Would you like to generate the article example CRUD module? Yes
? Would you like to generate the chat example module? No
Running npm install for you....
This may take a couple minutes.

然后下面的错误来了

Error: Command failed: cd mongoapp && npm install
.
.
.
.
etc

但是我已经安装了nodejs

【问题讨论】:

标签: meanjs yo


【解决方案1】:

看起来 yo 生成器在创建 mongoapp 目录时遇到了困难,这就是 cd mongoapp 命令失败的原因,或者您没有安装 nmp 并且 npm install 命令失败。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-06-01
    • 2015-12-22
    • 1970-01-01
    • 1970-01-01
    • 2018-05-05
    • 1970-01-01
    • 2011-05-21
    • 2016-07-31
    相关资源
    最近更新 更多