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

Unable to run next.js dev server #14729

Open
MayaMalkoti opened this issue Oct 22, 2024 · 2 comments
Open

Unable to run next.js dev server #14729

MayaMalkoti opened this issue Oct 22, 2024 · 2 comments
Labels
crash An issue that could cause a crash runtime windows An issue that is known to occur on Windows

Comments

@MayaMalkoti
Copy link

MayaMalkoti commented Oct 22, 2024

How can we reproduce the crash?

bun --bun run dev
$ next dev
▲ Next.js 14.2.15

✓ Starting...
✓ Ready in 1825ms
○ Compiling /src/middleware ...
✓ Compiled /src/middleware in 5.6s (72 modules)
○ Compiling / ...

Bun v1.1.25 (fe62a61) Windows x64
Windows v.win10_fe
CPU: sse42 avx avx2
Args: "bun-node-fe62a6140\node.exe" "node_modules\next\dist\server\lib\start-server.js"
Features: jsc Bun.stdin dotenv fetch(7) http_server spawn(2) transpiler_cache(23) tsconfig_paths(2) tsconfig(2)
Builtins: "bun:jsc" "bun:main" "detect-libc" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:dns/promises" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:perf_hooks" "node:querystring" "node:stream" "node:stream/web" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:worker_threads" "ws" "node-fetch" "node:v8" "node:diagnostics_channel"
Elapsed: 8877ms | User: 1609ms | Sys: 140ms
RSS: 1.07GB | Peak: 1.07GB | Commit: 22.98GB | Faults: 288104

panic(main thread): attempt to unwrap error: OutOfMemory
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Relevant log output

No response

Stack Trace (bun.report)

Bun v1.1.25 (fe62a61) on windows x86_64 [RunAsNodeCommand]

panic: attempt to unwrap error: OutOfMemory

@MayaMalkoti MayaMalkoti added the crash An issue that could cause a crash label Oct 22, 2024
@github-actions github-actions bot added runtime windows An issue that is known to occur on Windows labels Oct 22, 2024
Copy link
Contributor

@MayaMalkoti, the latest version of Bun is v1.1.32, but this crash was reported on Bun v1.1.25.

Are you able to reproduce this crash on the latest version of Bun?

bun upgrade

@Nanome203
Copy link
Contributor

@MayaMalkoti I can run next.js dev server just fine on Bun v1.1.32, so you should try upgrading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash An issue that could cause a crash runtime windows An issue that is known to occur on Windows
Projects
None yet
Development

No branches or pull requests

2 participants