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

前端 未结 6 1929
陌清茗
陌清茗 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:59

    The Node version seems to be outdated and both the npm and nodejs is not installed globally:

    To install globally run the following:

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

    And start again, it will work for sure.

提交回复
热议问题