I want to include a v2 addon I developed (called ember-metro-header-footer) in an app I'm developing (called metromap). I can't put the addon on NPM yet, so I'd like to use my local copy and npm link it to metromap. When I do this, I get the following error:
Some V1 ember addons are resolving as incorrect peer dependencies. This makes it impossible for us to safely convert them to v2 format.
See https://github.com/embroider-build/embroider/blob/main/docs/peer-dependency-resolution-issues.md for an explanation of the problem and suggestions for fixing it.[email protected] (dev)-> [email protected]
sees peerDep [email protected]
at ...\GitProjects\metro-header-footer\node_modules\ember-source
but [email protected] is using [email protected]
at ...\GitProjects\metromap\node_modules\ember-source[email protected] (dev)-> [email protected] -> @ember/[email protected]
sees peerDep [email protected]
at ...\GitProjects\metro-header-footer\node_modules\ember-source
but [email protected] is using [email protected]
at ...\GitProjects\metromap\node_modules\ember-source[email protected] (dev)-> [email protected] -> [email protected]
sees peerDep [email protected]
at ...\GitProjects\metro-header-footer\node_modules\ember-source
but [email protected] is using [email protected]
at ...\GitProjects\metromap\node_modules\ember-source
(paths modified with "..." by me, but themetro-header-footerandmetromapfolders are siblings, just as they appear)
I've tried removing ember-source as a peer dependency from ember-metro-header-footer, but that doesn't seem to help. I've also tried adding it as a dev dependency. How can I get ember-metro-header-footer and its dependencies to use the same copy of ember-source as metromap?
NOTE: ember-metro-header-footer is in a monorepo with its test app, if that matters