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

Could not find module ember-testing imported from @ember/test/index #805

Closed
elwayman02 opened this issue May 8, 2021 · 2 comments
Closed

Comments

@elwayman02
Copy link
Contributor

elwayman02 commented May 8, 2021

I'm seeing this error when deploying my addon's demo app to production after upgrading from 0.37 to 0.40 of @embroider/test-setup: elwayman02/ember-user-activity#419

Here's a live reproduction of the error, which can be seen in the browser console: https://ember-user-activity.jhawk.co/

Uncaught Error: Could not find module `ember-testing` imported from `@ember/test/index`
    at vendor-6e50465db379986591a65cb5508c4ddc.js:13
    at c (vendor-6e50465db379986591a65cb5508c4ddc.js:13)
    at s.findDeps (vendor-6e50465db379986591a65cb5508c4ddc.js:25)
    at c (vendor-6e50465db379986591a65cb5508c4ddc.js:13)
    at s.findDeps (vendor-6e50465db379986591a65cb5508c4ddc.js:25)
    at c (vendor-6e50465db379986591a65cb5508c4ddc.js:13)
    at s.findDeps (vendor-6e50465db379986591a65cb5508c4ddc.js:25)
    at c (vendor-6e50465db379986591a65cb5508c4ddc.js:13)
    at s.findDeps (vendor-6e50465db379986591a65cb5508c4ddc.js:25)
    at c (vendor-6e50465db379986591a65cb5508c4ddc.js:13)

If I rollback to 0.37, the app works as expected.

@rwjblue
Copy link
Collaborator

rwjblue commented May 19, 2021

Fixed by emberjs/ember.js#19540 and released in 3.27.1.

@rwjblue rwjblue closed this as completed May 19, 2021
@elwayman02
Copy link
Contributor Author

So, just to clarify - even though this issue occurred on Ember 3.26 and was introduced by upgrading to @embroider/test-setup 0.40, the fix is to upgrade Ember? Does that mean the latest version of @embroider/test-setup is incompatible with Ember 3.26?

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

No branches or pull requests

2 participants