jerel / ember-cli-loading-slider

A YouTube like loading indicator for EmberJS packaged as an Ember CLI add-on.
MIT License
116 stars 36 forks source link

Not working with Ember cli 1.13.12 #13

Closed juliankmazo closed 8 years ago

juliankmazo commented 8 years ago

Hi. Just update my app to 1.13.12 and I'm having this issue

version: 1.13.12
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/user-guide/#watchman for more info.
[Deprecated] new this.Funnel(..) is deprecated, please use broccoli-funnel directly instead  [addon: ember-cli-loading-slider]
Livereload server on http://localhost:49152
Serving on http://localhost:4200/
ENOENT: no such file or directory, stat '/home/julian/Developer/work/sciensa/cvc-intercambio-frontend/tmp/concat_with_maps-input_base_path-bd66fPQ0.tmp/0/components/loading-slider.css'
Error: ENOENT: no such file or directory, stat '/home/julian/Developer/work/sciensa/cvc-intercambio-frontend/tmp/concat_with_maps-input_base_path-bd66fPQ0.tmp/0/components/loading-slider.css'
jeremytm commented 8 years ago

+1

dzbo commented 8 years ago

I'm also having this problem

vsymguysung commented 8 years ago

+1

vsymguysung commented 8 years ago

I am able to fix the build error at least with the following change. In index.js

From

module.exports = {
  ...
  included: function(app) {
    ...
    app.import('components/loading-slider.css');
  }
};

To

module.exports = {
  ...
  included: function(app) {
   ...
    app.import('app/styles/components/loading-slider.css');
  }
};
jeremytm commented 8 years ago

Thanks @vsymguysung, how do we override index.js while using the addon?

vsymguysung commented 8 years ago

I just use a quick & dirty method until it gets resolved. Just open node_modules/ember-cli-loading-slider/index.js and override it.

Replace the following app.import('components/loading-slider.css'); with app.import('app/styles/components/loading-slider.css');.

vsymguysung commented 8 years ago

The version 1.2.0 resolved the issue. Thanks much!