yarnpkg / berry

📦🐈 Active development trunk for Yarn ⚒
https://yarnpkg.com
BSD 2-Clause "Simplified" License
7.47k stars 1.12k forks source link

[Bug?]: ERR_MODULE_NOT_FOUND after installation and integration a plugin via PnP #6590

Open rimakan opened 3 weeks ago

rimakan commented 3 weeks ago

Self-service

Describe the bug

When I try to integrate a plugin via PnP, I see the error. As a result, linter does not work

Image

To reproduce

Make sure you have VSCode eslint plugin installed

  1. Deploy the repo locally (https://github.com/rimakan/cspell-example-project)
  2. Install all the deps
  3. Go to eslint.config.mjs file
  4. Open the output tab and select ESLint
  5. Take a look at the error

Environment

System: OS: Linux 6.8 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish) CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz Binaries: Node: 20.17.0 - /tmp/xfs-e73e0d4c/node Yarn: 4.5.0 - /tmp/xfs-e73e0d4c/yarn npm: 10.8.2 - ~/.nvm/versions/node/v20.17.0/bin/npm

Additional context

No response