Skip to content

ERESOLVE unable to resolve dependency tree #1846

@lien-dkseo

Description

@lien-dkseo
> lb4 app
...
...

No change to package.json was detected. No package manager install will be executed.
npm warn config cache-min This option has been deprecated in favor of `--prefer-offline`.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: backend@0.0.1
npm error Found: @loopback/core@undefined
npm error node_modules/@loopback/core
npm error   @loopback/core@"^6.1.10" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @loopback/core@"^6.0.0" from @loopback/rest-explorer@7.0.13
npm error node_modules/@loopback/rest-explorer
npm error   @loopback/rest-explorer@"^7.0.13" 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 C:\...\AppData\Local\npm-cache\_logs\2025-04-29T00_27_49_419Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\...\AppData\Local\npm-cache\_logs\2025-04-29T00_27_49_419Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions