Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
billybrown-iii opened this issue Jul 17, 2022 · 1 comment
Open

Comments

@billybrown-iii
Copy link
Contributor

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
@Vagr9K
Copy link
Owner

Vagr9K commented Jul 17, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants