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

Error: Could not determine server runtime. Please install one of the following: @remix-run/deno, @remix-run/cloudflare, or @remix-run/node #10166

Open
joglr opened this issue Oct 28, 2024 · 0 comments · May be fixed by #10167

Comments

@joglr
Copy link

joglr commented Oct 28, 2024

Reproduction

Create a remix app that has @remix-run/node as a development depencency instead of a production dependency.

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 2.54 GB / 15.73 GB
  Binaries:
    Node: 22.6.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 7.0.0-rc.3 - ~\AppData\Local\pnpm\pnpm.EXE
    bun: 1.1.34 - ~\.bun\bin\bun.EXE
  Browsers:
    Edge: Chromium (127.0.2651.86)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @remix-run/node: ^2.13.1 => 2.13.1

Used Package Manager

npm

Expected Behavior

Expected remix to detect dependencies in devDependencies as well as in dependencies.

Actual Behavior

Only dependencies are scanned for required dependencies.

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

Successfully merging a pull request may close this issue.

2 participants