-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
c3Relating to C3 (create-cloudflare) packageRelating to C3 (create-cloudflare) package
Description
Example URL(s)
Following the deploy remix example documentation leads to an error when using the Setting up a new project command
npm create cloudflare@latest my-remix-app -- --framework=remix
Actual Behavior
npm create cloudflare@latest my-remix-app -- --framework=remix
Produces the following output
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: @cloudflare/[email protected]
npm ERR! node_modules/@cloudflare/workers-types
npm ERR! dev @cloudflare/workers-types@"^4.20230518.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.19.3" 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! /Users/thomasmcauliffe/.npm/_logs/2023-09-17T20_20_22_671Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/thomasmcauliffe/.npm/_logs/2023-09-17T20_20_22_671Z-debug-0.log
Command failed: npm install
Error
npm ERR! code 1
npm ERR! path /Users/thomasmcauliffe/code/cloudflare
npm ERR! command failed
npm ERR! command sh -c create-cloudflare my-remix-app --framework=remix
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/thomasmcauliffe/.npm/_logs/2023-09-17T20_20_11_477Z-debug-0.log
From the log file above
'Log files:
/Users/thomasmcauliffe/.npm/_logs/2023-09-17T20_19_21_766Z-debug-0.log
# npm resolution error report
While resolving: undefined@undefined
Found: @cloudflare/[email protected]
node_modules/@cloudflare/workers-types
dev @cloudflare/workers-types@"^4.20230518.0" from the root project
Could not resolve dependency:
peer @cloudflare/workers-types@"^2.0.0 || ^3.0.0" from @remix-run/[email protected]
node_modules/@remix-run/cloudflare
@remix-run/cloudflare@"^1.19.3" from the root project
Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
Expected Behavior
Remix is downloaded and installed
Additional information
Apologies if this is the wrong place to raise this. Going to the remix docs and following their download proces seems to get passed this step
Metadata
Metadata
Assignees
Labels
c3Relating to C3 (create-cloudflare) packageRelating to C3 (create-cloudflare) package