Tonkpils / ember-sweetalert

Ember CLI addon for SweetAlert2
MIT License
19 stars 10 forks source link

Broccoli error Ember 2.9.x #3

Closed danilovaz closed 7 years ago

danilovaz commented 7 years ago

I'm trying to use your addon in Ember 2.9.x but when I run ember server I'm receiving this:

The Broccoli Plugin: [SourceMapConcat: Concat: Vendor /assets/vendor.js] failed with:   

Any Idea why this happening?

lindyhopchris commented 7 years ago

I got the same error - it was solved by running bower install sweetalert2

This package should run the bower install when you run ember install ember-sweetalert but it doesn't at the moment. Think adding the following:

return this.addBowerPackageToProject('sweetalert2', '^6.1.0');

to the afterInstall function in the project's blueprint should fix it.

Tonkpils commented 7 years ago

I've released a new version of the addon with the fix. Let me know if this fixes your issue @danilovaz

danilovaz commented 7 years ago

I'll do some tests about it. Thank's @Tonkpils

herzzanu commented 7 years ago

If it helps, I'm using Ember 2.9.xand it works.

Tonkpils commented 7 years ago

If you run into any issues, feel free to re-open this