Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I'm building an App using MEAN Stack and trying to scaffold my frontend using yeoman-generator, when I do yo angular it fails to build and ends up in the following

  Running "wiredep:app" (wiredep) task
  Warning: Error: Cannot find where you keep your Bower packages. Use --force to continue.

Aborted due to warnings.

I'm stuck with this warning. I found a similar question here , but that solution didn't helped me.

Anyhelp will be greatly appreciated.

like image 854
Naveen Vijayakumar Avatar asked Jul 23 '15 05:07

Naveen Vijayakumar


2 Answers

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

like image 168
varna Avatar answered Oct 02 '22 13:10

varna


Just run bower install and your code will run.

like image 7
Aman Jain Avatar answered Oct 01 '22 13:10

Aman Jain