[Bug] Could not find module `ember-testing` imported from `@ember/test/index` on ember 3.27.0
See original GitHub issue🐞 Describe the Bug
Updating ember app to v3.27.0 causing an error: Could not find module ember-testing
imported from @ember/test/index
🔬 Minimal Reproduction
Create an app with latest ember-cli
. Update ember-source
to v3.27.0
Build the app with npm run build
. Go to dist folder. Serve the folder. In my case, I’m using python -m "http.server"
You’ll see the error message as: Uncaught Error: Could not find module ember-testing
imported from @ember/test/index
I’m seeing the same error with my production app.
Here is the sample repo.
😕 Actual Behavior
App successfully built but when I run and reach to main route I’m seeing this error and app doesn’t work.
🤔 Expected Behavior
App should be working.
🌍 Environment
- Ember: - 3.26.1
- Node.js/npm: - v14.16.1/7.6.3
- OS: - Windows 10
- Browser: - Microsoft Edge 90.0.818.51 x64
➕ Additional Context
Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Getting "Could not find module `ember-resolver`" error
However, when I deploy the app I get the following: Error: Could not find module ember-resolver imported from bnc/app.
Read more >How to debug "Could not find module" in Ember.js acceptance ...
I tried creating a new Ember project with one test route and an acceptance test, all generated with CLI, and the import works...
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 >Learn TDD in Ember
TDD helps you develop a robust test suite to catch bugs, as well as guiding you to more modular, flexible code. To see...
Read more >The Ember.js testing guide, I made for myself - Medium
import { moduleFor, test } from 'ember-qunit'; ... Please note ember-cli does not generate unit tests for components and helpers by default (when...
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
This should be fixed in 3.27.1, let us know if there are any issues!
cc @Turbo87 I’m fairly sure this is what you hit in crates