Error: Cannot find where you keep your Bower packages. Use --force to continue

前端 未结 6 1882
陌清茗
陌清茗 2020-12-28 18:18

I\'m building an App using MEAN Stack and trying to scaffold my frontend using yeoman-generator, when I do yo angular it f

6条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-28 18:37

    I got the same error on

    grunt serve.

    It was solved when i tried

    npm install --global yo bower grunt-cli 
    
    npm install -g generator-angular
    
    yo angular
    
    grunt serve
    

    if you get an error:-

    Running "wiredep:app" (wiredep) task

    Warning: Error: angular is not installed

    . Try running bower install

提交回复
热议问题