gatsby-advanced-starter icon indicating copy to clipboard operation
gatsby-advanced-starter copied to clipboard

"could not resolve" error when attempting to initialize locally

Open billybrown-iii opened this issue 2 years ago • 1 comments

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: [email protected]
npm ERR! Found: [email protected]

Platform:

Apple M1 Macbook pro 2021

Steps to reproduce:

  • Use the "git clone [github link]" command to clone the repo locally
  • cd into the gatsby-advanced-starter directory
  • Attempt to use the "npm i" command to install dependencies

billybrown-iii avatar Jul 17 '22 17:07 billybrown-iii

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

Vagr9K avatar Jul 17 '22 20:07 Vagr9K