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

Uncaught (in promise) Error: Constructor for "app-root#undefined" was not found at initializeComponent #1539

Closed
newtonmunene99 opened this issue May 17, 2019 · 3 comments
Labels

Comments

@newtonmunene99
Copy link

Stencil version:

  "@stencil/core": "^1.0.0-beta.0"

I'm submitting a:

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/

Current behavior:

Build fine but shows a blank white screen in browser with the following errors in the browser console ;

Uncaught (in promise) Error: Constructor for "app-root#undefined" was not found
    at initializeComponent

and I'm using firebase in my project. Getting this in browser console

SyntaxError: Identifier 'firebase$1' has already been declared

Expected behavior:

Should show my stencil app in the browser.
Steps to reproduce:

  • Upgrade to stencil one beta
  • npm start
@ionitron-bot ionitron-bot bot added the triage label May 17, 2019
@manucorporat
Copy link
Contributor

manucorporat commented May 17, 2019

I am pretty sure i can't reproduce following that steps, seems like there is some third party libraries involved, can you provide a repo case?

@newtonmunene99
Copy link
Author

Here's is the repo for my project https://github.com/newtonmunene99/newtonmunene_public

@manucorporat
Copy link
Contributor

After some initial debugging seems like rollup is emitting some duplicated identifiers, opened an issue:
rollup/rollup#2865

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

No branches or pull requests

2 participants