-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
bug: Internal Server Error when running nextjs app locally on Windows #1280
Comments
just to be sure, I uninstalled nvm-windows and manually installed nodejs@22, and the issue still persists |
I believe this issue is just related to this: I "fixed" my issue by removing the lines Still, I think a note/warning should be added to the README so that developers know there is currently an issue with edge+nextjs+turbopack and they should remove those lines if using Windows for development. |
hey @nickreynolds , there is already a note in the readme :) |
@noxify I guess my point is that the note should mention that Windows does not support the edge runtime with nextjs+turbo. The error message produced is not too helpful and it wasn't clear that disabling edge was what I needed to do to proceed. |
Got it - maybe you could provide a PR with the changes to make it clear. But I think it's a general problem, not only windows. ( please correct me if I'm wrong ) |
@noxify I'll try to make a PR updating the note when I think of the right wording ;) I'm not aware of any other dev envs that don't support edge runtime with turbo. The issue I linked describes a Windows-only issue. I suppose there probably are others, but I would let future contributors point those out when issues are encountered. |
Provide environment information
Describe the bug
From a fresh clone of this repo (on a windows machine), I ran
pnpm i
, set my DB URL, and then ranpnpm dev
.When I load
localhost:3000
in the browser, I see "Internal Server Error" rendered, and the nextjs app logs look like this:Doing the exact same thing on my Mac does not show an error and the page renders correctly.
Link to reproduction
fresh clone of this repo
To reproduce
From a fresh clone of this repo, I ran
pnpm i
, set my DB URL, ranpnpm db:push
, and then ranpnpm dev
.This is on windows, using Powershell (in VS Code) with nvm-windows installed.
Additional information
This appears to be a windows-only issue, but not sure why other users on Windows haven't reported it. For me, the project is entirely unusable for development on Windows.
The text was updated successfully, but these errors were encountered: