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.

@ember/renderer work in 2.8.0/2.8.1 not compatible with prior ember releases

See original GitHub issue

Resulting error in both 4.4 LTS and 3.28 LTS

Uncaught Error: Could not find module `@ember/renderer` imported from `(require)`
    at missingModule (loader.js:247:1)
    at findModule (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at Module.callback (render-settled.js:12:1)
    at Module.exports (loader.js:106:1)
    at Module._reify (loader.js:143:1)
    at Module.reify (loader.js:130:1)
    at Module.exports (loader.js:104:1)
    at Module._reify (loader.js:143:1)
    at Module.reify (loader.js:130:1)

~At a minimum this should have been a major version, but given it doesn’t support either LTS likely~ we should fix.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
BobrImperatorcommented, Jul 28, 2022

@ember/test-helpers@2.8.1 also breaks in ember-simple-auth for >=3.12 <3.28

@ember/test-helpers@~2.7.0 seems to work correctly.

not ok 1 Chrome 103.0 - [undefined ms] - Global error: Uncaught Error: Could not find module `@glimmer/manager` imported from `(require)` at http://localhost:7357/assets/vendor.js, line 7463
    ---
        browser log: |
            {"type":"error","text":"Uncaught Error: Could not find module `@glimmer/manager` imported from `(require)` at http://localhost:7357/assets/vendor.js, line 7463\n","testContext":{}}
    ...
not ok 2 Chrome 103.0 - [undefined ms] - Global error: Uncaught Error: The tests file was not loaded. Make sure your tests index.html includes "assets/tests.js". at http://localhost:7357/135649072972/tests/index.html?hidepassed, line 42
    ---
        browser log: |
            {"type":"error","text":"Uncaught Error: The tests file was not loaded. Make sure your tests index.html includes \"assets/tests.js\". at http://localhost:7357/135649072972/tests/index.html?hidepassed, line 42\n","testContext":{"state":"complete"}}
0reactions
ro0grcommented, Aug 4, 2022

@runspired ya, sure. I didn’t have any conflicting versions declared explicitly as well. However, in the recent versions of the test-helpers it got a peer dependency on ember-source https://github.com/emberjs/ember-test-helpers/blob/02360aaf1f1210db3af9aa53dda6e4387de3aaeb/package.json#L39-L41 And seems like this causes some of package managers to install the latest possible ember-source version to the root node_modules, which in its turn makes embroider/macros’s dependencySatisfies( to ignore the test-app’s ember-source version, and use one from the root node_modules(like explained in the embroider thread).

You can ensure if that’s the case for you by checking all the installed ember-source copies in the monorepo setup, like

npm list ember-source

or similar.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ember.js Releases
Ember.js Releases. Ember is committed to shipping new features without breaking your existing applications. You get Long Term Support (LTS) versions, ...
Read more >
Ember Website is not working on IE. · Issue #16717 - GitHub
Hi, Our website is not working on IE but it is fully functional on Microsoft Edge, Google Chrome, Firefox and Safari.
Read more >
How can I upgrade ember 2.7 to 3.28? - Stack Overflow
We can't even find from which version this is supported. If this is possible, then how ? Is it possible to get rid...
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