vite-plugin-node-polyfills
vite-plugin-node-polyfills copied to clipboard
Bug: Errors after upgrade to 0.24 `load url unenv/node/process`
Summary
After upgrading from 0.23.0 to 0.24.0 our Storybook CI started failing with the following errors:
Cannot find package 'unenv/node/process' imported from '/builds/x/technology/x/frontend/node_modules/@storybook/addon-vitest/dist/vitest-plugin/global-setup.mjs
2025-07-18T11:40:47.137036Z 01O [31m[1mCaused by: Error[22m: Failed to load url unenv/node/process (resolved id: unenv/node/process). Does the file exist?[39m
2025-07-18T11:40:47.137037Z 01O [90m [2m❯[22m loadAndTransform ../../node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:[2m35725:17[22m[39m
2025-07-18T11:40:47.137037Z 01O
2025-07-18T11:40:47.137038Z 01O [31m[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[22m[39m
2025-07-18T11:40:47.137039Z 01O [31m[1mSerialized Error:[22m[39m [90m{ code: 'ERR_LOAD_URL' }[39m
is this a package conflict or an actual bug?