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
gatsby new YourProjectName https://github.com/Vagr9K/gatsby-advanced-starter
but it fails to run npm install
➜ web git:(main) ✗ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: gatsby-starter-advanced@3.2.2
npm ERR! Found: cypress@8.2.0
npm ERR! node_modules/cypress
npm ERR! dev cypress@"^8.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer cypress@"^3 || ^4 || ^5 || ^6" from cypress-axe@0.12.2
npm ERR! node_modules/cypress-axe
npm ERR! dev cypress-axe@"^0.12.2" 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! A complete log of this run can be found in:
The text was updated successfully, but these errors were encountered:
It looks like NPM fails to resolve the dependencies.
To be honest the project primarily supports Yarn and relies on its workspace features. I'll add a note regarding this in its documentation in the future.
Can you try using yarn as your Gatsby package manager as outlined in the gatsby cli documentation?
Alternatively you can clone/fork the project and run yarn in the root directory. That's effectively the same as installing it via gatsby new.
I am trying to install the theme using
gatsby
clibut it fails to run
npm install
The text was updated successfully, but these errors were encountered: