LoginSignup
0
0

More than 5 years have passed since last update.

grunt serve すると 「Cannot find where you keep your Bower packages.」と言われる

Posted at

現象

user:grunt serve

Running "wiredep:app" (wiredep) task

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

経緯

Yeoman で AngularJS の雛形を作ったときのこと。

解決策

.bowerrc に書かれているディレクトリを作成する。
以下は自分の環境下での .bowerrc

.bowerrc
{
  "directory": "bower_components"
}

bower_components ディレクトリを作成すれば解決。

ググると下の記事がタイトル通りでしたが、現象が違いました。
grunt serve で Cannot find where you keep your Bower packages. がでたときの解決方法

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0