Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Cannot install builder #61

Open
hhimanshu opened this issue Oct 6, 2022 · 2 comments
Open

Cannot install builder #61

hhimanshu opened this issue Oct 6, 2022 · 2 comments
Assignees

Comments

@hhimanshu
Copy link

hhimanshu commented Oct 6, 2022

Hello,

As I run npm install, I get the following

➜  gatsby-starter-builder git:(master) ✗ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: gatsby-starter-builder@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/gatsby
npm ERR!   gatsby@"^3.14.6" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer gatsby@"^4.0.0-next" from @builder.io/[email protected]
npm ERR! node_modules/@builder.io/gatsby
npm ERR!   @builder.io/gatsby@"^2.0.6-16" 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! See /Users/harit/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/harit/.npm/_logs/2022-10-06T23_53_40_648Z-debug-0.log

Can someone please help?

@seldebrings
Copy link

I had some issues running this starter, solved them by:

  • using node 16 ( nvm use 16 )
  • using yarn v1 (yarn set version classic)
  • changed version of gatsby-plugin-material-ui to 1.2.5 , removed node_modules and did a 'yarn install'
    Hope this helpes!

@seldebrings
Copy link

..also changing my "develop" script in package.json to "export SET NODE_OPTIONS=--openssl-legacy-provider && npm run clean && gatsby develop"

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

No branches or pull requests

3 participants