Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versions 0.2.2 and 0.3.0 crashing app with assertion error #33

Open
adamreisnz opened this issue Jun 6, 2017 · 9 comments
Open

Versions 0.2.2 and 0.3.0 crashing app with assertion error #33

adamreisnz opened this issue Jun 6, 2017 · 9 comments

Comments

@adamreisnz
Copy link

Assertion Failed: The initializer 'head-browser' has already been registered"

Reverting to 0.2.0 fixes the issue.
Any work arounds or ways to fix this?

@laantorchaweb
Copy link

The biggest problem is 0.2.2 crashing, it updated on my CI.

@laantorchaweb
Copy link

laantorchaweb commented Jun 27, 2017

@rwjblue any ideas what this issue could be? I'm not sure if the problem is in the repo or maybe on the page-title repo that is installing this one as a dependency.

I have time to work on a fix if you point me in the right direction.

@devdemi
Copy link

devdemi commented Jun 29, 2017

./ember-cli-head/app-lt-2-10/instance-initializers/head.js
./ember-cli-head/app/instance-initializers/head.js
These two instance initializers was added during build
But I can't understand why.

@danieledraganti
Copy link

Any news about this? I have reverted to 0.2.0 but to no avail... it still gives me the Assertion Failed: The initializer 'head-browser' has already been registered" error. I have also reverted ember-cli-meta-tags to 3.1.0, no joy.

@shyshy
Copy link

shyshy commented Jul 26, 2017

We were running into this same problem where one person running the project would not run into this issue and another did. We diffed the two project directories and turns out there was a node_modules directory in an in-repo addon for one of the projects and not the other. If we deleted the nested node_modules of the in-repo addon, we don't run into this error!

The in-repo addon had ember-page-title as a dependency, which has this as a dependency.

@joshsmith
Copy link

@ronco or @rwjblue, sorry for the pings here, but wanted to see if you needed someone else to PR a fix for this – or if the breakage appears to actually be downstream in ember-page-title?

@rwjblue
Copy link
Member

rwjblue commented Oct 5, 2017

I don’t actually understand what is wrong here. Also, I believe the initializer has been removed so 0.4.0 likely solves this anyways....

@rwjblue
Copy link
Member

rwjblue commented Oct 5, 2017

Can one of y’all confirm?

@xamoom-pali
Copy link

xamoom-pali commented Oct 10, 2017

Upgraded ember-page-title and added head.hbs, the problem has gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants