-
-
Notifications
You must be signed in to change notification settings - Fork 806
Bun throws error when not having Node installed #4182
Copy link
Copy link
Open
Labels
Description
Environment
macOS 26.4
Reproduction
bunx create-nitro-app
Describe the bug
On a fresh system with only Bun installed (no Node) the following error is thrown:
error: Expected a Response object, but received 'NodeResponse {
status: [Getter],
statusText: [Getter],
headers: [Getter],
ok: [Getter],
_response: [Getter],
_toNodeResponse: [Function: _toNodeResponse],
arrayBuffer: [Function],
blob: [Function],
body: [Getter],
bodyUsed: [Getter],
bytes: [Function],
clone: [Function],
formData: [Function],
json: [Function],
redirected: [Getter],
text: [Function],
type: [Getter],
url: [Getter],
}'
10:50:42 PM [vite] Internal server error: Parse Error
at unknown
at <anonymous> (node:_http_client:230:56)
at processTicksAndRejections (native:7:39)
Additional context
No response
Logs
Reactions are currently unavailable