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.

broccoliBuilderErrorStack … Can't resolve '../../test-waiters'

See original GitHub issue

I can’t tell if this is related to this issue, but I thought I’d give embroider a try and I get a build failure on step 1 (“First make it work with no options. This is the mode that supports maximum backward compatibility.”):

- broccoliBuilderErrorStack: ModuleNotFoundError: Module not found: Error: Can't resolve '../../test-waiters' in '$TMPDIR/embroider/6d8b07/node_modules/@ember/test-helpers/-internal/debug-info.js'

This is with Ember 3.23.1 and Embroider 0.40.0

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:18 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vfutocommented, Jul 11, 2022

@roomman I had the same issue, build failed with adding "@ember/test-waiters": "3.0.1" in resolutions, but after cleaning node_modules (also deleted the build from $TMPDIR/embroider) and running yarn install fixed it.

1reaction
roommancommented, Jan 18, 2022

Thanks @angelayanpan but this particular project doesn’t use Yarn so that’s not an option, unless I’ve missed some recent NPM feature releases?

Edit: so it looks like I did miss something and “overrides” were added to NPM in 8.3.0. Will give that a try now 👍🏻

Edit: added an npm override to my package.json but it did not fix the issue for my project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ember build faield because of broccoliBuilderError
I've tried to fix this with ember-cli-build file but the error persiste. const app = new EmberApp(defaults, { 'sassOptions': { includePaths: [ ' ......
Read more >
Ember-CLI: Cannot find module 'broccoli-static-compiler'Error
It means ember serve can't find the Node.js package broccoli-static-compiler . Broccoli provides the build pipeline for Ember CLI projects, ...
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