superflare icon indicating copy to clipboard operation
superflare copied to clipboard

Error installing @superflare/remix per getting started

Open jacobhamblin opened this issue 1 year ago • 1 comments

Following the steps from getting started, I get the following error:

> npx superflare@latest new

(cd into project, build, dev, killed)

> npm install @superflare/remix
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: @cloudflare/[email protected]
npm ERR! node_modules/@cloudflare/workers-types
npm ERR!   dev @cloudflare/workers-types@"4.20230307.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @cloudflare/workers-types@"^2.0.0 || ^3.0.0" from @remix-run/[email protected]
npm ERR! node_modules/@remix-run/cloudflare
npm ERR!   @remix-run/cloudflare@"^1.14.1" from the root project
npm ERR!   peer @remix-run/cloudflare@"^1.14.0" from @superflare/[email protected]
npm ERR!   node_modules/@superflare/remix
npm ERR!     @superflare/remix@"*" 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! 
npm ERR! For a full report see:
npm ERR! /home/jacob/.npm/_logs/2023-08-07T20_19_36_351Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jacob/.npm/_logs/2023-08-07T20_19_36_351Z-debug-0.log

jacobhamblin avatar Aug 07 '23 20:08 jacobhamblin