greeting
i am having this problem when pushing to vercel
tried
npm install --legacy-peer-deps
npm audit fix --force`
localy but it didn't fix the issue
thanks for the help
user ctrl
code ERESOLVE13:34:04.676npm ERR!
ERESOLVE could not resolve13:34:04.677npm ERR!
13:34:04.677npm ERR! While resolving: react-animated-burgers#1.2.813:34:04.677npm ERR!
Found: react#17.0.213:34:04.677npm ERR!
node_modules/react13:34:04.678npm ERR!
peer react#"16.8.x" from react-konva#16.8.613:34:04.678npm ERR!
node_modules/react-konva13:34:04.678npm ERR!
peer react-konva#"^16.8.0 || ^17.0.0" from #react-spring/konva#9.4.313:34:04.679npm ERR!
node_modules/#react-spring/konva13:34:04.680npm ERR!
#react-spring/konva#"~9.4.3-beta.0" from react-spring#9.4.313:34:04.680npm ERR!
node_modules/react-spring13:34:04.680npm ERR!
react-spring#"^9.2.4" from the root project13:34:04.680npm ERR!
13:34:04.680npm ERR! Could not resolve dependency:13:34:04.681npm ERR!
peer react#"^16.13.1" from react-animated-burgers#1.2.813:34:04.681npm ERR!
node_modules/react-animated-burgers13:34:04.681npm ERR!
react-animated-burgers#"^1.2.8" from the root project13:34:04.681npm ERR!
13:34:04.681npm ERR! Conflicting peer dependency: react#16.14.013:34:04.681npm ERR!
node_modules/react13:34:04.681npm ERR!
peer react#"^16.13.1" from react-animated-burgers#1.2.813:34:04.681npm ERR!
node_modules/react-animated-burgers13:34:04.682npm ERR!
react-animated-burgers#"^1.2.8" from the root project13:34:04.682npm ERR!
13:34:04.682npm ERR! Fix the upstream dependency conflict, or retry13:34:04.682npm ERR!
this command with --force, or --legacy-peer-deps13:34:04.682npm ERR!
to accept an incorrect (and potentially broken) dependency resolution.13:34:04.682npm ERR!
13:34:04.682npm ERR! See /vercel/.npm/eresolve-report.txt for a full report.
Related
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: gamezone1#1.0.0
npm ERR! Found: react-native-gesture-handler#2.2.1
npm ERR! node_modules/react-native-gesture-handler
npm ERR! react-native-gesture-handler#"~2.2.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-native-gesture-handler#"^1.0.12" from react-navigation-drawer#2.7.2
npm ERR! node_modules/react-navigation-drawer
npm ERR! react-navigation-drawer#"*" 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! See C:\Users\Maria\AppData\Local\npm-cache\eresolve-report.txt for a full
report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Maria\AppData\Local\npm-cache_logs\2022-08-04T05_25_21_285Z-debug-0.log
try this,
npm i react-navigation-drawer --legacy-peer-deps
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined#undefined
npm ERR! Found: vue#2.6.14
npm ERR! node_modules/vue
npm ERR! dev vue#"^2.6.12" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue#"^3.0.2" from vuex#4.0.2
npm ERR! node_modules/vuex
npm ERR! vuex#"*" 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!
I have a dependency error trying to add any of the plugins available for gatsby. This issue is there immediately after the first installation of gatsby and after running the command "gatsby create".
Here below you can find all the details of the problem.
Can someone please help to fix this issue?
Thanks in advance.
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: #mdx-js/react#1.6.22
npm ERR! Found: react#18.1.0
npm ERR! node_modules/react
npm ERR! peer react#"15.x || 16.x || 17.x || 18.x" from #gatsbyjs/reach-router#1.3.7
npm ERR! node_modules/#gatsbyjs/reach-router
npm ERR! #gatsbyjs/reach-router#"^1.3.6" from gatsby#4.17.0
npm ERR! node_modules/gatsby
npm ERR! peer gatsby#"^4.0.0-next" from babel-plugin-remove-graphql-queries#4.17.0
npm ERR! node_modules/babel-plugin-remove-graphql-queries
npm ERR! babel-plugin-remove-graphql-queries#"^4.17.0" from gatsby#4.17.0
npm ERR! 2 more (gatsby-plugin-image, gatsby-plugin-typescript)
npm ERR! 13 more (gatsby-plugin-google-analytics, gatsby-plugin-image, ...)
npm ERR! peer #gatsbyjs/reach-router#"^1.3.5" from gatsby-link#4.17.0
npm ERR! node_modules/gatsby-link
npm ERR! gatsby-link#"^4.17.0" from gatsby#4.17.0
npm ERR! node_modules/gatsby
npm ERR! peer gatsby#"^4.0.0-next" from babel-plugin-remove-graphql-queries#4.17.0
npm ERR! node_modules/babel-plugin-remove-graphql-queries
npm ERR! 13 more (gatsby-plugin-google-analytics, gatsby-plugin-image, ...)
npm ERR! 1 more (gatsby-react-router-scroll)
npm ERR! peer react#"^16.9.0 || ^17.0.0 || ^18.0.0" from gatsby#4.17.0
npm ERR! node_modules/gatsby
npm ERR! peer gatsby#"^4.0.0-next" from babel-plugin-remove-graphql-queries#4.17.0
npm ERR! node_modules/babel-plugin-remove-graphql-queries
npm ERR! babel-plugin-remove-graphql-queries#"^4.17.0" from gatsby#4.17.0
npm ERR! 2 more (gatsby-plugin-image, gatsby-plugin-typescript)
npm ERR! peer gatsby#"^4.0.0-next" from gatsby-plugin-google-analytics#4.17.0
npm ERR! node_modules/gatsby-plugin-google-analytics
npm ERR! gatsby-plugin-google-analytics#"^4.17.0" from the root project
npm ERR! 12 more (gatsby-plugin-image, gatsby-plugin-manifest, ...)
npm ERR! 10 more (gatsby-link, gatsby-plugin-google-analytics, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react#"^16.13.1 || ^17.0.0" from #mdx-js/react#1.6.22
npm ERR! node_modules/#mdx-js/react
npm ERR! peer #mdx-js/react#"^1.0.0" from gatsby-plugin-mdx#3.17.0
npm ERR! node_modules/gatsby-plugin-mdx
npm ERR! gatsby-plugin-mdx#"^3.17.0" from the root project
npm ERR! #mdx-js/react#"^1.6.22" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react#17.0.2
npm ERR! node_modules/react
npm ERR! peer react#"^16.13.1 || ^17.0.0" from #mdx-js/react#1.6.22
npm ERR! node_modules/#mdx-js/react
npm ERR! peer #mdx-js/react#"^1.0.0" from gatsby-plugin-mdx#3.17.0
npm ERR! node_modules/gatsby-plugin-mdx
npm ERR! gatsby-plugin-mdx#"^3.17.0" from the root project
npm ERR! #mdx-js/react#"^1.6.22" 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.```
I have installed sveltekit and deployed the sveltekit template to netify.
I want to link it to netify-cms and then do some actually website building but it caused this error when trying to download the npm package.
C:\Users\pjsup\code\ponders-showcase>npm i netlify-cms-app
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: react#17.0.2
npm ERR! node_modules/react
npm ERR! peer react#"^16.8.4 || ^17.0.0" from netlify-cms-app#2.15.40
npm ERR! node_modules/netlify-cms-app
npm ERR! netlify-cms-app#"*" from the root project
npm ERR! peer react#"17.0.2" from react-dom#17.0.2
npm ERR! node_modules/react-dom
npm ERR! peer react-dom#"^16.8.4 || ^17.0.0" from netlify-cms-app#2.15.40
npm ERR! node_modules/netlify-cms-app
npm ERR! netlify-cms-app#"*" from the root project
npm ERR! peer react-dom#"^16.8.4 || ^17.0.0" from netlify-cms-core#2.48.0
npm ERR! node_modules/netlify-cms-core
npm ERR! netlify-cms-core#"^2.48.0" from netlify-cms-app#2.15.40
npm ERR! node_modules/netlify-cms-app
npm ERR! netlify-cms-app#"*" from the root project
npm ERR! 7 more (netlify-cms-widget-date, ...)
npm ERR! 39 more (#emotion/core, #emotion/styled, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react#"^16.0.0-0" from react-split-pane#0.1.92
npm ERR! node_modules/netlify-cms-core/node_modules/react-split-pane
npm ERR! react-split-pane#"^0.1.85" from netlify-cms-core#2.48.0
npm ERR! node_modules/netlify-cms-core
npm ERR! netlify-cms-core#"^2.48.0" from netlify-cms-app#2.15.40
npm ERR! node_modules/netlify-cms-app
npm ERR! netlify-cms-app#"*" 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! See C:\Users\pjsup\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\pjsup\AppData\Local\npm-cache\_logs\2021-09-06T12_26_54_989Z-debug.log
Is this because the netify-cms cannot work with sveltekit yet? It claims to work with Sapper its predecessor.
https://www.netlifycms.org/docs/add-to-your-site/
E:\react_test\first\Test>npm install #react-navigation/stack
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: Test#0.0.1
npm ERR! Found: #react-navigation/native#5.9.3
npm ERR! node_modules/#react-navigation/native
npm ERR! #react-navigation/native#"^5.9.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer #react-navigation/native#"^6.0.0" from #react-navigation/stack#6.0.0-next.6
npm ERR! node_modules/#react-navigation/stack
npm ERR! #react-navigation/stack#"^6.0.0-next.6" 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! See C:\Users\BISHAWJIT\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\BISHAWJIT\AppData\Local\npm-cache\_logs\2021-03-17T05_20_15_312Z-debug.log
remove old package try this package
yarn add #react-navigation/stack