BuilderIO / gatsby-starter-builder

Gatsby example with drag and drop page building
https://builder.io
MIT License
68 stars 38 forks source link

Cannot install builder #61

Open hhimanshu opened 2 years ago

hhimanshu commented 2 years ago

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: gatsby@3.14.6
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/gatsby@2.0.6-16
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 commented 1 year ago

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

seldebrings commented 1 year ago

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