hyper-site icon indicating copy to clipboard operation
hyper-site copied to clipboard

@mdx-js/react depencency conflict

Open sidma64 opened this issue 1 year ago • 1 comments

I get this error after running npm install:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
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.13.1 || ^17.0.0" from @mdx-js/[email protected]
npm ERR! node_modules/@mdx-js/react
npm ERR!   @mdx-js/react@"^1.6.4" 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.

The React version of the module @mdx-js/react is conflicting.

sidma64 avatar Jun 09 '23 02:06 sidma64

The project default manager is pnpm, try using pnpm.

devjiwonchoi avatar Jul 12 '23 07:07 devjiwonchoi