Skip to content

Commit

Permalink
Merge pull request #1603 from embroider-build/provide-suggestions-in-…
Browse files Browse the repository at this point in the history
…the-peer-error

Add some action items to the peer errors when node_modules is messed up
  • Loading branch information
NullVoxPopuli authored Nov 9, 2023
2 parents f84b5cd + 4e7794a commit 6d4a757
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/compat/src/standalone-addon-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,16 @@ export function convertLegacyAddons(compatApp: CompatApp) {
} else {
throw new 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.
${summarizePeerDepViolations(violations)}`
👇 👇 👇
👉 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.
👆 👆 👆
${summarizePeerDepViolations(violations)}
👇 👇 👇
👉 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.
👆 👆 👆`
);
}
}
Expand Down

0 comments on commit 6d4a757

Please sign in to comment.