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

Incompatible with Yarn PnP #1801

Closed
retrixe opened this issue Oct 10, 2024 · 2 comments · Fixed by #1816
Closed

Incompatible with Yarn PnP #1801

retrixe opened this issue Oct 10, 2024 · 2 comments · Fixed by #1816
Labels

Comments

@retrixe
Copy link

retrixe commented Oct 10, 2024

Using this configuration with the Yarn package manager (in its default PnP mode) results in the following error:

❯ yarn lint

Oops! Something went wrong! :(

ESLint: 8.57.1

Error: eslint-config-love tried to access @typescript-eslint/utils, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Required package: @typescript-eslint/utils
Required by: eslint-config-love@virtual:8e8c832788447b1439f7347fe921d2f30424373bd77c2e629f25eb152bdbf15de051a1b34b6954ff3b5a022ec23312682697f398ce2bd317fa88e10f08f71ee1#npm:84.1.0 (via /home/ideapad/Documents/salezy/server/.yarn/__virtual__/eslint-config-love-virtual-1c3c95474c/4/.yarn/berry/cache/eslint-config-love-npm-84.1.0-7f31c71c7c-10c0.zip/node_modules/eslint-config-love/lib/)

Require stack:
- /home/ideapad/Documents/salezy/server/.yarn/__virtual__/eslint-config-love-virtual-1c3c95474c/4/.yarn/berry/cache/eslint-config-love-npm-84.1.0-7f31c71c7c-10c0.zip/node_modules/eslint-config-love/lib/index.js
    at require$$0.Module._resolveFilename (/home/ideapad/Documents/salezy/server/.pnp.cjs:10863:13)
    at Module._load (node:internal/modules/cjs/loader:1074:27)
    at require$$0.Module._load (/home/ideapad/Documents/salezy/server/.pnp.cjs:10754:31)
    at TracingChannel.traceSync (node:diagnostics_channel:315:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
    at Module.require (node:internal/modules/cjs/loader:1339:12)
    at require (node:internal/modules/helpers:135:16)
    at Object.<anonymous> (/home/ideapad/Documents/salezy/server/.yarn/__virtual__/eslint-config-love-virtual-1c3c95474c/4/.yarn/berry/cache/eslint-config-love-npm-84.1.0-7f31c71c7c-10c0.zip/node_modules/eslint-config-love/lib/index.js:25:17)
    at Module._compile (node:internal/modules/cjs/loader:1546:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
@mightyiam
Copy link
Owner

Thank you, @retrixe

mightyiam added a commit that referenced this issue Oct 13, 2024
eslint-config-love-release-bot bot pushed a commit that referenced this issue Oct 13, 2024
## [86.1.1](v86.1.0...v86.1.1) (2024-10-13)

### Bug Fixes

* add missing @typescript-eslint/utils dep ([9e5dae8](9e5dae8)), closes [#1801](#1801)
@eslint-config-love-release-bot

🎉 This issue has been resolved in version 86.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging a pull request may close this issue.

2 participants