search

Home  >  Q&A  >  body text

angular.js - Problems encountered when installing angular applications with yeoman

First, after installing angular with npm

npm install generator-angular

Then use yeoman to generate the angular project

yo angular angularapp

The problem shown in the picture will appear

Then check the file generation directory and everything else is there, but there is no node_moduels dependency package folder.

世界只因有你世界只因有你2814 days ago658

reply all(3)I'll reply

  • 某草草

    某草草2017-05-15 16:53:53

    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.

    reply
    0
  • 迷茫

    迷茫2017-05-15 16:53:53

    Execute bower install & npm install again in the project directory

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-15 16:53:53

    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!)

    reply
    0
  • Cancelreply