brunch / brunch-with-chaplin

Boilerplate application for Brunch with Chaplin framework included.
paulmillr.com
280 stars 68 forks source link

Fixes the NO_BOWER_JSON error. #86

Closed crackcomm closed 11 years ago

crackcomm commented 11 years ago

It fixes error caused because default bower packages directory sometimes is set to components (for me on windows for example, i dont know why).

15 Aug 07:33:21 - error: { [Error: Component must have "C:\Users\Asus\brunch-with-chaplin\bower_components\chaplin\bower.json"] code: 'NO_BOWER_JSON' }

For me after merge & bower install error disappears.

$> brunch watch --server 15 Aug 07:33:53 - info: application started on http://localhost:3333/ 15 Aug 07:33:56 - info: compiled 27 files and 1 cached into 3 files, copied index.html in 3384ms

paulmillr commented 11 years ago

because one of your root directories contain bowerrc.

crackcomm commented 11 years ago

Yes but it needs bower_components as a directory to compile properly, so maybe we should set it as default in this repository to allow people to deploy/compile it without worrying about .bowerrc problem.

paulmillr commented 11 years ago

it is not cool to litter the repo with a lot of small files when something like this should be set in bower.json

I have created bower/bower#793, let's wait until then