Skip to content

FATAL: An unexpected Turbopack error occurred (no extra details in the error message) #77324

@Raffaele

Description

@Raffaele

Link to the code that reproduces this issue

https://github.com/Raffaele/next-js-routing-notes/tree/turbopack-issue

To Reproduce

  1. clone the repo and install dependencies
  2. run npm run dev

Current vs. Expected behavior

Expected Behavior: The build should complete successfully without causing a Turbopack error or panic.

Actual Behavior: The build fails with an unexpected Turbopack error reported below.

In console:

An unexpected Turbopack error occurred. Please report the content of /.../next-panic-2931a89e1363ab200da90a3552859677.log,
along with a description of what you were doing when the error occurred, to
https://github.com/vercel/next.js/issues/new?template=1.bug_report.yml

In the browser when I open localhost:3000:

getServerError
node_modules/next/src/client/components/react-dev-overlay/utils/node-stack-frames.ts (31:36)

<unknown>
node_modules/next/src/client/index.tsx (943:17)

Provide environment information

Operating System:
  Platform: macOS Big Sur
  Arch: 2.2 GHz Quad-Core Intel Core i7
  Version: 11.7.10
Binaries:
  Node: 20.10.0
  npm: 10.2.3
Relevant Packages:
  next: 15.2.1
  eslint-config-next: 15.2.1
  react: 19.0.0
  react-dom: 19.0.0

Which area(s) are affected? (Select all that apply)

Not sure

Which stage(s) are affected? (Select all that apply)

next dev (local)

Additional context

If you remove the folder src/app/parallel-interceptions/@extra/(.)[id] and restart the server (with ctrl+C and npm run dev) it works and it keeps working without issues if you add back the removed folder with the original content. If you re-start again the server after adding back the folder, it fails in the same way.

Log content:

---------------------------
Panic: panicked at turbopack/crates/turbo-tasks-fs/src/glob.rs:180:25:
not yet implemented: glob char sequences are not implemented yet
Backtrace:    0: _napi_register_module_v1
   1: _napi_register_module_v1
   2: <unknown>
   3: _napi_register_module_v1
   4: _napi_register_module_v1
   5: _napi_register_module_v1
   6: _napi_register_module_v1
   7: _napi_register_module_v1
   8: _BrotliDecoderVersion
   9: _BrotliDecoderVersion
  10: _BrotliDecoderVersion
  11: _BrotliDecoderVersion
  12: <unknown>
  13: <unknown>
  14: <unknown>
  15: <unknown>
  16: <unknown>
  17: <unknown>
  18: <unknown>
  19: <unknown>
  20: <unknown>
  21: _napi_register_module_v1
  22: _napi_register_module_v1
  23: _napi_register_module_v1
  24: _napi_register_module_v1
  25: _napi_register_module_v1
  26: _napi_register_module_v1
  27: _napi_register_module_v1
  28: _napi_register_module_v1
  29: _napi_register_module_v1
  30: _napi_register_module_v1
  31: _napi_register_module_v1
  32: _napi_register_module_v1
  33: _napi_register_module_v1
  34: _napi_register_module_v1
  35: __pthread_start


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions