Ember 2.14 - classCallCheck is not a function error while running tests in prod mode
See original GitHub issueThis is probably similar to #15506. We have a CI task for running all our tests in both dev and prod mode. We started this, when the app started failing in production, after an ember upgrade (everything was green in normal dev/tests mode).
So the same CI task is complaining of (0 , n.classCallCheck) is not a function).
Locally it can be reproduced by either running the tests on command line like,
ember test --environment production
TypeError: (0 , n.classCallCheck) is not a function
at new a (http://localhost:7357/assets/test-support-53bc5911338063adc4ccac6eb3b4dca0.js:150:61)
at Function.d (http://localhost:7357/assets/vendor-95589e23a28b7d0c0a9b34af4f24b7ff.js:3155:7)
at o (http://localhost:7357/assets/test-support-53bc5911338063adc4ccac6eb3b4dca0.js:147:106)
at http://localhost:7357/assets/test-support-53bc5911338063adc4ccac6eb3b4dca0.js:98:51
at e.run (http://localhost:7357/assets/vendor-95589e23a28b7d0c0a9b34af4f24b7ff.js:1121:32)
at Le (http://localhost:7357/assets/vendor-95589e23a28b7d0c0a9b34af4f24b7ff.js:1903:260)
at a (http://localhost:7357/assets/test-support-53bc5911338063adc4ccac6eb3b4dca0.js:155:56)
at a.helpers.(anonymous function).meta.wait.n (http://localhost:7357/assets/test-support-53bc5911338063adc4ccac6eb3b4dca0.js:98:20)
at Object.<anonymous> (http://localhost:7357/assets/tests-d912cb57e87899b732daee3ea65cab72.js:498:101)
at e (http://localhost:7357/assets/test-support-53bc5911338063adc4ccac6eb3b4dca0.js:277:288)
at g.run (http://localhost:7357/assets/test-support-
....
or
ember test --server true --environment production
and load chrome. One would see following,
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:5 (4 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 ... I think it is getting generated when we...
Read more >yoember.com: Ember.js Octane Tutorial - From beginner to ...
Free Ember.js tutorial for absolute beginners. Build a CRUD application from step by step with the latest Ember.js Octane.
Read more >ember-qunit | Yarn - Package Manager
ember -qunit simplifies testing of Ember applications with QUnit by providing QUnit-specific wrappers around the helpers contained in ember-test-helpers.
Read more >str.replace is not a function in ember 2.1.0 - Stack Overflow
I'm really trying to wrap my head around EmberJS but I've been stuck here on this for the last two days! Thanks. Edited....
Read more >The Ember Run Loop and Asynchronous Testing
This summer, I interned on the Square Seller Dashboard team, which works on the web application that Square merchants use for everything ...
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 Free
Top 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

Is there any updates on this ? Our app is still at 2.13. Let us know if there is anything we can do the help. We can raise a PR, with some guidance if needed.
@rwjblue Can you please confirm the ember/ember-cli version you tested with? I tested with 2.18.0, still seeing the same error.
I think we need to migrate our app to latest versions.