gatsby-advanced-starter
gatsby-advanced-starter copied to clipboard
"could not resolve" error when attempting to initialize locally
Error:
I'm unable to run this project locally. I encounter the following error:

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
Unfortunately you need to use NPM_CONFIG_LEGACY_PEER_DEPS=true
(or npm i --force
) due to upstream package issues when using npm.