Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After migrating to v2 addon(#576), peerDependencies installation issues have arised with npm. Shortly:
@ember/test-helpers
peerDependency of the addon,ember-source@latest
is hoisted into the rootnode_modules
dependencySatisfies(
of the@embroider/macros
assumes that tests run against theember-source@latest
, even though in thetest-app
we have a different ember-source issues, which leads to further runtime errors.The issue is better explained here embroider-build/embroider#1169 (comment).
As far as I can see the only possible workaround for npm could be to set
auto-install-peers
tofalse
in the.npmrc
. However, it still feels like a workaround, and I haven't checked if it really works. So I'm going to switch to pnpm for now cause it doesn't have such an issue.For the record, I'd be happy to come back to npm when the issue would be solved there.
Also:
pnpm
requires v14 or higher--frozen-lockfile
installations