embroider: broccoliBuilderErrorStack … Can't resolve '../../test-waiters'
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
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 2
- Comments: 18 (4 by maintainers)
@roomman I had the same issue, build failed with adding
"@ember/test-waiters": "3.0.1"in resolutions, but after cleaningnode_modules(also deleted the build from$TMPDIR/embroider) and runningyarn installfixed it.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.
Similar situation here. Added @ember/test-waiters to a project with @embroider/* 0.50.2 and getting the following:
The import statement is
import { waitFor } from '@ember/test-waiters'. There are no references toember-test-waitersin the project.