-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Closed as not planned
Labels
Description
Reproduction
Using version 7.11.0 attempt to build using webpack 5.104.1
System Info
System:
OS: Windows 10 10.0.19045
CPU: (16) x64 Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz
Memory: 36.89 GB / 63.80 GB
Binaries:
Node: 22.14.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.21 - C:\Program Files\nodejs\yarn.CMD
npm: 11.4.0 - C:\Program Files\nodejs\npm.CMD
pnpm: 10.26.2 - C:\Program Files\nodejs\pnpm.CMD
Browsers:
Chrome: 143.0.7499.170
Edge: Chromium (142.0.3595.80)
Firefox: 144.0 - C:\Program Files\Mozilla Firefox\firefox.exe
Internet Explorer: 11.0.19041.5794
npmPackages:
react-router: ^7.11.0 => 7.11.0Used Package Manager
npm
Expected Behavior
Successful build
Actual Behavior
Build error indicating parse and/or serialize could not be found in module "cookie"
The line in the chuck-.mjs file reads
import { parse, serialize } from "cookie";
changing it to:
import cookie from "cookie";
allows a build.