You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently started development of my new portfolio and created a Gatsby starter file from its own CLI, but now when I'm trying to install decap-cms, I'm unable to install it.
I tried running command npm install decap-cms-app gatsby-plugin-decap-cms
I got the following error -
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @mdx-js/[email protected]
npm ERR! node_modules/@mdx-js/react
npm ERR! @mdx-js/react@"^3.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @mdx-js/react@"^2.0.0" from [email protected]
npm ERR! node_modules/gatsby-plugin-mdx
npm ERR! gatsby-plugin-mdx@"^5.13.1" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @mdx-js/[email protected]
npm ERR! node_modules/@mdx-js/react
npm ERR! peer @mdx-js/react@"^2.0.0" from [email protected]
npm ERR! node_modules/gatsby-plugin-mdx
npm ERR! gatsby-plugin-mdx@"^5.13.1" 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! /Users/rishavpandey/.npm/_logs/2024-08-22T03_56_56_456Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /Users/rishavpandey/.npm/_logs/2024-08-22T03_56_56_456Z-debug-0.log
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I have recently started development of my new portfolio and created a Gatsby starter file from its own CLI, but now when I'm trying to install decap-cms, I'm unable to install it.
This is package.json -
I tried running command
npm install decap-cms-app gatsby-plugin-decap-cms
I got the following error -
Thanks in advance!
The text was updated successfully, but these errors were encountered: