Skip to content

NextJS support failed #218

Open
Open
@alamenai

Description

@alamenai

Reproduce the bug

  1. npm install react-image-annotate

Expected behavior

installed package

Current behavior

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: next-app@0.1.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"18.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0" from react-image-annotate@1.8.0
npm ERR! node_modules/react-image-annotate
npm ERR!   react-image-annotate@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /home/alaeddine/.npm/_logs/2023-06-09T02_16_17_618Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/alaeddine/.npm/_logs/2023-06-09T02_16_17_618Z-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