question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
NullVoxPopulicommented, Jan 22, 2022

It’s the welcome page! image

1reaction
miguelcobaincommented, Feb 4, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found