robwebdev / ember-cli-staticboot

MIT License
31 stars 6 forks source link

Error: Assertion Failed: The initializer 'ajax-service' has already been registered #29

Open BryanCrotaz opened 7 years ago

BryanCrotaz commented 7 years ago

ember new myproject cd myproject ember install ember-cli-staticboot ember s

... Error: Assertion Failed: The initializer 'ajax-service' has already been registered

basz commented 6 years ago

I just hit this too with ember v2.14.2 and v.2.16.2

nlfurniss commented 6 years ago

Might be an issue with Fastboot: see this initializer

I don't use this addon, but upgrading ember-cli-fastboot to 1.1.2 in a test app with an initializer called ajax-service made the issue go away

RobbieTheWagner commented 6 years ago

I use https://github.com/ef4/prember now instead of this addon.

frank06 commented 6 years ago

It also happens with fastboot 1.1.3, even when creating an initializer. Prember is buggy too. I'm giving up with these add-ons - a few lines of Bash should accomplish the same.

RobbieTheWagner commented 6 years ago

@frank06 what issues do you have with prember? It works great for me.

frank06 commented 6 years ago

@rwwagner90 This: https://github.com/ef4/prember/issues/16