Vagr9K / gatsby-advanced-starter

A high performance skeleton starter for GatsbyJS with an advanced feature set.
https://amaranth-demo.netlify.app/
MIT License
1.56k stars 405 forks source link

"could not resolve" error when attempting to initialize locally #401

Open billybrown-iii opened 2 years ago

billybrown-iii commented 2 years ago

Error:

I'm unable to run this project locally. I encounter the following error:

image

The topmost part of this image looks normal. I need to install the relevant packages before running the project.

The unexpected error is this part:

billy@billys-mbp gatsby-advanced-starter % npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: gatsby-cypress@2.17.0
npm ERR! Found: cypress@10.2.0

Platform:

Apple M1 Macbook pro 2021

Steps to reproduce:

Vagr9K commented 2 years ago

Unfortunately you need to use NPM_CONFIG_LEGACY_PEER_DEPS=true (or npm i --force) due to upstream package issues when using npm.