Skip to content

bug: Error: No such module: http_parser (node@24) #2288

@freeshineit

Description

@freeshineit

Version

v2.4.21

OS Version

mac OS 15.4.1

Node.js Version

24.1.0

Browser Version

Chrome 136.0.7103.114

Link to minimal reproduction

https://github.com/freeshineit/pnpm-workspace/actions/runs/15235729794/job/42849241999

Steps to reproduce

Image

What is expected?

support node@24

What is actually happening?

Error: Register plugin /node_modules/.pnpm/@umijs+preset-umi@4.3.24_@types+node@20.16.10_@types+react@18.3.11_rollup@4.24.0_sass@1.89.0__buy3bnjvx2ccgwvf64lh2uvj6a/node_modules/@umijs/preset-umi/dist/features/esmi/esmi.js failed, since No such module: http_parser

Any additional comments? (optional)

No response

Metadata

Metadata

Assignees

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