[Bug] New ember app fails in production build
See original GitHub issue🐞 Describe the Bug
After creating a new ember app and running the production build, there is a runtime error:
Uncaught TypeError: Cannot destructure property 'manager' of 'e' as it is null.
Disabling ember-cli-terser
doesn’t fix the problem, and I get the more readable version of the error:
Uncaught TypeError: Cannot destructure property 'manager' of 'resolvedDefinition' as it is null.
🔬 Minimal Reproduction
Run ember new my-app && cd my-app && ember s --environment=production
😕 Actual Behavior
We get a runtime error.
🤔 Expected Behavior
App should work without errors.
🌍 Environment
- Ember: 4.1.0
- Node.js/npm: 14.18.2 / 6.14.15
- OS: MacOS Monterey
- Browser: Chrome 97.0.4692.99
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Ember UI not loading - Build Issues
Ember UI is not loading on staging env with below error message in the console vendor-fc7ff223306b879e26e5fb5c6862cc79.js:2693 Uncaught ...
Read more >JavaScript error handling with Ember.js · Raygun Blog
This simplifies the local dev workflow, and makes it possible for rich error tracking in production environments too. Raygun integrates with ...
Read more >Ember build for production not building properly - Stack Overflow
I am building my ember app in production environment and deploying it on my local wamp server(apache server). But when I copy the...
Read more >Sentry error reporting for Ember.js | Mainmatter - Simplabs
If you now run ember build --prod it should generate .map files next to the JavaScript files in the dist/assets/ folder. Make sure...
Read more >How to track Ember.js production errors - Atatus
js, client-side error logging has become essential in creating a stable application. But setting up a system to log browser errors is rather ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s the welcome page!
I think showing a build time warning if welcome-page addon is used in production would be enough. Some people came to me on discord asking if I found the solution.