angular.js - 用yeoman安装angular应用时遇到的问题
世界只因有你
世界只因有你 2017-05-15 16:51:53
0
3
607

首先npm安装了angular之后

npm install generator-angular

然后再用yeoman生成angular项目

yo angular angularapp

会出现如图 所示的问题

然后查看文件生成目录其他的都有了,就是没有node_moduels这个依赖包文件夹。

世界只因有你
世界只因有你

reply all(3)
某草草

Okay, I understand. You need to execute Npm install and bower install to download dependency packages.
But it still cannot be used when using grunt serve. Then the next lower version of generator-angular (0.10.0) will be enough.

迷茫

Execute bower install & npm install again in the project directory

淡淡烟草味

If you confirm that everything else is normal, and then this problem still occurs. You can check the network. One is connected or not. 2. Whether you can easily access the website you want to access. (In many cases, foreign websites cannot be accessed in China. You know!)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template