thread 'tokio-runtime-worker' panicked

곽태욱·2025년 8월 25일

현상

(base) ➜ ✗ bun run build
$ next build --turbopack
   ▲ Next.js 15.5.0 (Turbopack)
   - Environments: .env.local
   - Experiments (use with caution):
     · clientTraceMetadata

   Creating an optimized production build ...

thread 'tokio-runtime-worker' panicked at /Users/geist/dev/actions-runner/_work/next.js/next.js/turbopack/crates/turbo-tasks-backend/src/backend/mod.rs:1444:13:
Dependency tracking is disabled so invalidation is not allowed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

-----
FATAL: An unexpected Turbopack error occurred. A panic log has been written to /var/folders/sx/w7s8268975vfzdrxzkcw9y7m0000gp/T/next-panic-edd2864e323db407cab4b42528dc0ab0.log.

To help make Turbopack better, report this error by clicking here.
-----


thread 'tokio-runtime-worker' panicked at /Users/geist/dev/actions-runner/_work/next.js/next.js/turbopack/crates/turbo-tasks-backend/src/backend/mod.rs:1444:13:
Dependency tracking is disabled so invalidation is not allowed

> Build error occurred
Error [TurbopackInternalError]: Task effect panicked: Dependency tracking is disabled so invalidation is not allowed

Debug info:
- Execution of TaskId { id: 2147483650 } transient failed
- Task effect panicked: Dependency tracking is disabled so invalidation is not allowed
    at <unknown> (TurbopackInternalError: Task effect panicked: Dependency tracking is disabled so invalidation is not allowed) {
  type: 'TurbopackInternalError'
}
error: script "build" exited with code 1

원인

  • src/app/icon.svg 파일 크기가 커서 (225kB)

해결

  • 해당 파일 삭제
profile
이유와 방법을 알려주는 메모장 겸 블로그 (Frontend, AI, 경제, 책)

0개의 댓글