react-scan
react-scan copied to clipboard
npx react-scan@latest (0.0.37) throws ERESOLVE error
Hi when I've run following command
npm run dev & npx react-scan@latest https://localhost:5000/
it failed with following error stack, I've tried with 0.0.36
and it is all good, what am I doing wrong here?
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: undefined@undefined
npm error Found: [email protected]
npm error node_modules/react
npm error peer react@"^18.0.0" from @remix-run/[email protected]
npm error node_modules/@remix-run/react
npm error peerOptional @remix-run/react@">=1.0.0" from [email protected]
npm error node_modules/react-scan
npm error react-scan@"0.0.37" from the root project
npm error peer react@"^18.3.1" from [email protected]
npm error node_modules/react-dom
npm error peer react-dom@"^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" from [email protected]
npm error node_modules/react-scan
npm error react-scan@"0.0.37" from the root project
npm error peer react-dom@"^18.0.0" from @remix-run/[email protected]
npm error node_modules/@remix-run/react
npm error peerOptional @remix-run/react@">=1.0.0" from [email protected]
npm error node_modules/react-scan
npm error react-scan@"0.0.37" from the root project
npm error 1 more (next)
npm error 1 more (next)
npm error
npm error Could not resolve dependency:
npm error peer react@"^16.8.0 || ^17.0.0 || ^18.0.0 | ^19.0.0" from [email protected]
npm error node_modules/react-scan
npm error react-scan@"0.0.37" 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 /Users/<user>/.npm/_logs/2024-12-06T13_04_29_666Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/<user>/.npm/_logs/2024-12-06T13_04_29_666Z-debug-0.log