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

Deploying a remix site #3967

Closed
tjamesmac opened this issue Sep 17, 2023 · 1 comment
Closed

Deploying a remix site #3967

tjamesmac opened this issue Sep 17, 2023 · 1 comment
Assignees
Labels
c3 Relating to C3 (create-cloudflare) package

Comments

@tjamesmac
Copy link

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

@haleycode haleycode assigned WalshyDev and unassigned GregBrimble Sep 18, 2023
@GregBrimble GregBrimble transferred this issue from cloudflare/cloudflare-docs Sep 18, 2023
@GregBrimble GregBrimble assigned jculvey and unassigned WalshyDev Sep 18, 2023
@GregBrimble GregBrimble added the c3 Relating to C3 (create-cloudflare) package label Sep 18, 2023
@jculvey
Copy link
Contributor

jculvey commented Oct 5, 2023

This seems to have been fixed with 2.4.0 #4061

Let us know if you see any more issues

@jculvey jculvey closed this as completed Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c3 Relating to C3 (create-cloudflare) package
Projects
None yet
Development

No branches or pull requests

4 participants