Skip to content

[Panic]: Access tokio runtime failed in spawn crash on StackBlitz when using watch mode #8747

Description

@sapphi-red

Panic message

Rolldown panicked. This is a bug in Rolldown, not your code.

thread '<unnamed>' (3) panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/napi-3.8.3/src/tokio_runtime.rs:113:6:
Access tokio runtime failed in spawn

Reproduction

https://stackblitz.com/edit/github-xv4yss-vwegagtj?file=rolldown.mjs

System Info

StackBlitz

  System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 22.22.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.8.2 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    @rolldown/browser:  1.0.0-rc.9

Additional context

Re-creation of #5051

Metadata

Metadata

Assignees

Type

Fields

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions