Skip to content

Wrong version for peerDependency #58

@mathiasmaerker

Description

@mathiasmaerker

What version of Effect is running?

latest

What steps can reproduce the bug?

npx create-effect-app@latest --template basic --eslint afterwards npm install will fail with

What is the expected behavior?

It installs

What do you see instead?

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: tmp@1.0.0
npm error Found: eslint@9.10.0
npm error node_modules/eslint
npm error   dev eslint@"9.10.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^8.0.0" from eslint-plugin-deprecation@3.0.0
npm error node_modules/eslint-plugin-deprecation
npm error   dev eslint-plugin-deprecation@"3.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/node/.npm/_logs/2024-10-31T19_09_23_202Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/node/.npm/_logs/2024-10-31T19_09_23_202Z-debug-0.log

pnpm is working.. kind of..

 WARN  Issues with peer dependencies found
.
├─┬ eslint-plugin-import 2.30.0
│ └── ✕ unmet peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8": found 9.10.0
└─┬ eslint-plugin-deprecation 3.0.0
  ├── ✕ unmet peer eslint@^8.0.0: found 9.10.0
  └─┬ @typescript-eslint/utils 7.18.0
    └── ✕ unmet peer eslint@^8.56.0: found 9.10.0

Additional information

just wanted to inform you..

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions