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.

Embroider safe tests hang for all addons

See original GitHub issue

I am not sure if this is due to something like ember-cli-addon-docs or what is causing all my addons to hang when I try to add the embroider ember-try scenarios, but I always get Global error: Uncaught ReferenceError: Ember is not defined.

Here are a couple builds:

https://github.com/shipshapecode/ember-math-helpers/pull/509 https://github.com/shipshapecode/ember-shepherd/pull/779

@ef4 any ideas here?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:24 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mydeacommented, Jun 10, 2021

Huh, that worked! I removed ember-auto-import from the dev dependencies as I was not aware it was being used by something in the default blueprint. And since the regular tests worked, I thought that was all good. Weird that this would only fail in embroider then, but in in a regular build 🤔 but thanks a lot for the help!

1reaction
rwjbluecommented, Jun 7, 2021

@rwwagner90 - The last link you shared was not anything to do with Ember is not defined, the log you linked to shows:

not ok 1 Chrome 91.0 - [undefined ms] - Global error: Uncaught Error: an unsupported module was defined, expected `define(id, deps, module)` instead got: `1` arguments to define` at http://localhost:7357/assets/vendor.js, line 67

Which is due to a double transpilation of qunit. You need to tell the system to skip babeling qunit.

See https://github.com/shipshapecode/ember-meta/pull/28/files#r646644689 for details.

Read more comments on GitHub >

github_iconTop Results From Across the Web

embroider-build - Bountysource
Hello. I am trying to migrate Ember app to Embroider and I am getting this error from several addon packages: ember-cli-moment-shim; ember-drag-drop ...
Read more >
Embroider: from zero to route splitting in 3.5 weeks
Manually test & stabilize the app; Merge back to main; Get all addons building with optimized flags; Get the app building with optimized...
Read more >
Ember addon tests hang on "Waiting for runners" for Chrome ...
If only "Chrome" is written, console displays "Waiting for runners..." messsage and hangs. package.json , bower.json and testem.json ...
Read more >
I was sent a bad GPU to try and fix from a subscriber... Can we ...
Tips on Graphics Card Troubleshooting ; Dad Bods and PC Mods. $28.99 ; JTC Gaming Mat. $29.99 ; JTC Black Mug. $14.99 ;...
Read more >
How to stress test a PC to find errors and crashes - YouTube
Tutorial: Learn how to stress test a new PC build and the software involved! Start configuring your next custom gaming PC with NZXT...
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