GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Version 8.0.3 breaks the webidl cache · Issue #5024 · nodejs/undici

Version 8.0.3 breaks the webidl cache #5024

New issue
Copy link
New issue
Copy link
Closed
Closed
Version 8.0.3 breaks the webidl cache#5024
Copy link
Labels
bugSomething isn't working

Description

@jsumners-nr
jsumners-nr
opened on Apr 13, 2026
Issue body actions

I know that Node v20 isn't technically supported, but the following script works on 8.0.2 under Node 20.20.2, but it does not work with 8.0.3:

'use strict'

const undici = require('undici')

main()
  .then(() => {})
  .catch(console.error)

async function main() {
  const { statusCode } = await undici.request(
    'http://httpbin.org/',
    {
      path: '/anything',
      method: 'POST',
      headers: { 'content-type': 'application/json' },
      body: Buffer.from('{"hello":"world"}')
    }
  )
  console.log('status code: ', statusCode)
}
❯ node index.js
/private/tmp/13/repro/node_modules/undici/lib/web/cache/cachestorage.js:20
    webidl.util.markAsUncloneable(this)
                ^

TypeError: webidl.util.markAsUncloneable is not a function
    at new CacheStorage (/private/tmp/13/repro/node_modules/undici/lib/web/cache/cachestorage.js:20:17)
    at Object.<anonymous> (/private/tmp/13/repro/node_modules/undici/index.js:179:25)
    at Module._compile (node:internal/modules/cjs/loader:1521:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
    at Module.load (node:internal/modules/cjs/loader:1266:32)
    at Module._load (node:internal/modules/cjs/loader:1091:12)
    at Module.require (node:internal/modules/cjs/loader:1289:19)
    at require (node:internal/modules/helpers:182:18)
    at Object.<anonymous> (/private/tmp/13/repro/index.js:3:16)
    at Module._compile (node:internal/modules/cjs/loader:1521:14)

Node.js v20.20.2

Activity

  1. jsumners-nr
    added
    bugSomething isn't working
    on Apr 13, 2026
  2. mcollina commented on Apr 13, 2026

    @mcollina
    mcollina
    on Apr 13, 2026
    SponsorMember
    More actions

    As you said, it's not supported ;).

    Does anything bad happen on v22?

  3. jsumners-nr commented on Apr 13, 2026

    @jsumners-nr
    jsumners-nr
    on Apr 13, 2026
    Author
    More actions

    No. But the fact it works on 8.0.2 and not on 8.0.3 seems like something to investigate regardless of runtime version.

  4. KhafraDev commented on Apr 14, 2026

    @KhafraDev
    KhafraDev
    on Apr 14, 2026
    Member
    More actions

    undici v8 dropped support for node v20 in 393094a

    undici/package.json

    Line 136 in 6824eed

    "node": ">=22.19.0"

    It doesn't seem actionable to me. Feel free to reopen if you feel otherwise.

  5. KhafraDev
    closed this as completedon Apr 14, 2026
  6. jblazquez-cdi commented on Apr 15, 2026

    @jblazquez-cdi
    jblazquez-cdi
    on Apr 15, 2026
    More actions

    It would be nice to signal change of minimum node versions as a breaking change in the release text. I read the release text, I saw no breaking change (at least not one that it should care about), and updated, just to have this same error. Fortunately 7.25 works enough for me.

  7. timtucker-dte commented on Apr 16, 2026

    @timtucker-dte
    timtucker-dte
    on Apr 16, 2026
    More actions

    It would be nice to signal change of minimum node versions as a breaking change in the release text. I read the release text, I saw no breaking change (at least not one that it should care about), and updated, just to have this same error. Fortunately 7.25 works enough for me.

    If you want to see clearer errors when there's a breaking change, add:
    engine-strict=true

    To your .npmrc file

  8. DavidJFelix
    added 2 commits that reference this issue on Jul 1, 2026

    fix(ci): give Warden a Node 22+ runtime on the runner

    173d893

    fix(ci): give Warden a Node 22+ runtime on the runner

    db1079c
  9. dmisdm
    added 2 commits that reference this issue on Jul 9, 2026

    Fix Pi subprocess startup crash under Bun + propagate startup errors

    fbe8d2b

    Fix Pi subprocess startup crash under Bun + propagate startup errors (#7

    0b1f1c0
  10. okikijesutech
    added a commit that references this issue on Jul 26, 2026

    fix: downgrade undici to avoid documented Node 20 regression

    7e493a7
  11. newwind-llc
    added a commit that references this issue on Jul 28, 2026

    ci: 全ワークフローの Node を 20 → 22 に更新(CI 復旧)

    bff6577
  12. EasyBro92
    added a commit that references this issue on Aug 21, 2026

    ci: bump deploy workflow to Node 22

    8e935fe
  13. DivineFlame
    added a commit that references this issue on Aug 22, 2026

    Fix actor container crash: undici 8.x requires Node >=22.19.0

    0a63e85
  14. edgedev-admin
    added a commit that references this issue on Aug 27, 2026

    Fix CI: Node 24 for jsdom/undici compat, add missing Pillow dependency

    b1ab8f3
  15. luisdicalves
    added 2 commits that reference this issue on Aug 28, 2026

    fix(ci): switch Switch test to happy-dom, add E2E coverage for the mi…

    09a24d1

    fix(a11y): bring Switch into WCAG 2.2 AA conformance, migrate local T…

    dd3ec23
  16. benjaespina98
    added a commit that references this issue on Sep 2, 2026

    fix(ci): bump CI Node version to 24, undici 8.x dropped Node 20

    2b7e517
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.