berry icon indicating copy to clipboard operation
berry copied to clipboard

[Bug?]: yarn/doctor@4 can't resolve deps

Open belgattitude opened this issue 3 years ago • 2 comments

Self-service

  • [ ] I'd be willing to implement a fix

Describe the bug

Seems there's a regression in @yarnpkg/doctor version 4rc. While v3 works, v4 outputs:

yarn dlx yarn dlx @yarnpkg/[email protected] . # works
yarn dlx yarn dlx @yarnpkg/[email protected] . # don't

And outputs

➤ YN0000: ┌ /home/sebastien/github/nextjs-monorepo-example/package.json
➤ YN0000: │ Resolving [email protected] errored with [email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving @changesets/[email protected] errored with @changesets/[email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving @changesets/[email protected] errored with @changesets/[email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving @commitlint/[email protected] errored with @commitlint/[email protected] isn't supported by any available resolver
etc..

To reproduce

You can see the output of the ci action here:

https://github.com/belgattitude/nextjs-monorepo-example/actions/runs/3404187570/jobs/5661229670

image

Environment

System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
  Binaries:
    Node: 16.17.0 - /tmp/xfs-19f2cfb4/node
    Yarn: 4.0.0-rc.27 - /tmp/xfs-19f2cfb4/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v16.17.0/bin/npm

Additional context

No response

belgattitude avatar Nov 06 '22 11:11 belgattitude

Same issue for polyrepo as well.

$ yarn dlx @yarnpkg/doctor
➤ YN0000: · Yarn 4.1.1
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + @yarnpkg/doctor@npm:4.0.1, @algolia/cache-browser-local-storage@npm:4.23.3, @algolia/cache-common@npm:4.23.3, and 227 more.
➤ YN0000: └ Completed in 1s 504ms
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed
➤ YN0000: · Done in 1s 698ms

➤ YN0000: Found 1 package(s) to process
➤ YN0000: For a grand total of 4 file(s) to validate

➤ YN0000: ┌ /Users/siarheibobryk/Repositores/SiarheiBobryk.github.io/package.json
➤ YN0000: │ Resolving [email protected] errored with [email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving [email protected] errored with [email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving [email protected] errored with [email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving @types/[email protected] errored with @types/[email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving @types/[email protected] errored with @types/[email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving @types/[email protected] errored with @types/[email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving [email protected] errored with [email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving [email protected] errored with [email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving [email protected] errored with [email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving [email protected] errored with [email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving [email protected] errored with [email protected] isn't supported by any available resolver
➤ YN0000: │ Resolving [email protected] errored with [email protected] isn't supported by any available resolver
➤ YN0000: └ Completed
➤ YN0000: ⠙ --------------------------------------------------------------------------------

➤ YN0000: Done with warnings in 0s 36ms

Any updates on that?

SiarheiBobryk avatar Apr 13 '24 21:04 SiarheiBobryk

Same, any update on this?

➤ YN0000: │ Resolving babel-loader@^9.1.3 errored with babel-loader@^9.1.3 isn't supported by any available resolver
➤ YN0000: │ Resolving eslint-plugin-import@^2.29.1 errored with eslint-plugin-import@^2.29.1 isn't supported by any available resolver
➤ YN0000: │ Resolving postcss@^8.4.41 errored with postcss@^8.4.41 isn't supported by any available resolver
➤ YN0000: │ Resolving postcss-import@^16.1.0 errored with postcss-import@^16.1.0 isn't supported by any available resolver
➤ YN0000: │ Resolving postcss-loader@^8.1.1 errored with postcss-loader@^8.1.1 isn't supported by any available resolver
➤ YN0000: │ Resolving postcss-nested@^6.2.0 errored with postcss-nested@^6.2.0 isn't supported by any available resolver
➤ YN0000: │ Resolving postcss-preset-env@^10.0.2 errored with postcss-preset-env@^10.0.2 isn't supported by any available resolver
➤ YN0000: │ Resolving postcss-pxtorem@^6.1.0 errored with postcss-pxtorem@^6.1.0 isn't supported by any available resolver
➤ YN0000: │ Resolving postcss-safe-parser@^7.0.0 errored with postcss-safe-parser@^7.0.0 isn't supported by any available resolver
➤ YN0000: │ Resolving remark@^15.0.1 errored with remark@^15.0.1 isn't supported by any available resolver
➤ YN0000: │ Resolving update-browserslist-db@^1.1.0 errored with update-browserslist-db@^1.1.0 isn't supported by any available resolver

tedw avatar Aug 27 '24 16:08 tedw