Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peer dependency incorrectly met when using Yarn 3.x #2144

Closed
toymachiner62 opened this issue Apr 29, 2022 · 3 comments · Fixed by #2268
Closed

Peer dependency incorrectly met when using Yarn 3.x #2144

toymachiner62 opened this issue Apr 29, 2022 · 3 comments · Fixed by #2268
Assignees
Labels
CLI CLI component released t/bug Something isn't working

Comments

@toymachiner62
Copy link

Describe the bug
I upgraded to yarn 3.x and now I have a project that is showing this error

$ yarn install
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @stoplight/spectral-cli@npm:6.3.0 doesn't provide rollup (p8903b), requested by @rollup/plugin-commonjs
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed

To Reproduce

Create a project with @stoplight/spectral-cli as a devDependency and run $ yarn install with the latest version of yarn.

Expected behavior
No peer dependency error

Environment (remove any that are not applicable):

  • OS: macOS
@P0lip P0lip added the CLI CLI component label May 4, 2022
@amanarch96
Copy link

Witnessing same error, post this log the workflow is stuck for 1-2 hours.
Any solution for this?

@punkpeye
Copy link

Same issue. Is there a workaround?

@philsturgeon philsturgeon added the t/bug Something isn't working label Sep 6, 2022
@P0lip P0lip self-assigned this Sep 6, 2022
@stoplight-bot
Copy link
Collaborator

🎉 This issue has been resolved in version @stoplight/spectral-cli-v6.6.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI CLI component released t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants