You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 19, 2026. It is now read-only.
Upgrading from vite 8b5 to vite 8b6 leads to the following error:
vite v8.0.0-beta.6 building client environment for production...
✓ 12 modules transformed.
✗ Build failed in 68ms
error during build:
Build failed with 1 error:
[rolldown:vite-resolve] Error: plugin `rolldown:vite-resolve` threw an error
Caused by:
Your application tried to access @vue/runtime-dom, but it isn't declared in your dependencies; this makes the require call ambiguous and unsound.
Required package: @vue/runtime-dom
Required by: /tmp/test-rolldown/
at aggregateBindingErrorsIntoJsError (file:///home/XXX/.yarn/berry/cache/rolldown-npm-1.0.0-beta.58-93dad1d49e-10c0.zip/node_modules/rolldown/dist/shared/bindingify-input-options-DA2ZhV0B.mjs:61:18)
at unwrapBindingResult (file:///home/XXX/.yarn/berry/cache/rolldown-npm-1.0.0-beta.58-93dad1d49e-10c0.zip/node_modules/rolldown/dist/shared/bindingify-input-options-DA2ZhV0B.mjs:31:128)
at #build (file:///home/XXX/.yarn/berry/cache/rolldown-npm-1.0.0-beta.58-93dad1d49e-10c0.zip/node_modules/rolldown/dist/shared/rolldown-build-DADnIB07.mjs:2272:34)
at async buildEnvironment (file:///tmp/test-rolldown/.yarn/__virtual__/vite-virtual-9db6278208/3/home/XXX/.yarn/berry/cache/vite-npm-8.0.0-beta.6-a68de55e80-10c0.zip/node_modules/vite/dist/node/chunks/node.js:34349:64)
at async Object.build (file:///tmp/test-rolldown/.yarn/__virtual__/vite-virtual-9db6278208/3/home/XXX/.yarn/berry/cache/vite-npm-8.0.0-beta.6-a68de55e80-10c0.zip/node_modules/vite/dist/node/chunks/node.js:34752:19)
at async Object.buildApp (file:///tmp/test-rolldown/.yarn/__virtual__/vite-virtual-9db6278208/3/home/XXX/.yarn/berry/cache/vite-npm-8.0.0-beta.6-a68de55e80-10c0.zip/node_modules/vite/dist/node/chunks/node.js:34749:153)
at async CAC.<anonymous> (file:///tmp/test-rolldown/.yarn/__virtual__/vite-virtual-9db6278208/3/home/XXX/.yarn/berry/cache/vite-npm-8.0.0-beta.6-a68de55e80-10c0.zip/node_modules/vite/dist/node/cli.js:630:3)
Describe the regression
Upgrading from vite 8b5 to vite 8b6 leads to the following error:
Reproduction
https://github.com/Glandos/test-rolldown
Expected Behavior
The project should build with
yarn vite buildActual Behavior
It fails.
Steps to Reproduce
rm -f yarn.lock; yarn; yarn vite buildIf you update
package.jsonand edit dependency of vite to version8.0.0-beta.5, it works.System Info
System: OS: Linux 6.17 Debian GNU/Linux forky/sid CPU: (16) x64 AMD Ryzen AI 7 350 w/ Radeon 860M Memory: 16.84 GB / 30.54 GB Container: Yes Shell: 4.2.1 - /usr/bin/fish Binaries: Node: 20.19.2 - /run/user/1000/fnm_multishells/89327_1768393120406/bin/node Yarn: 4.8.1 - /run/user/1000/fnm_multishells/89327_1768393120406/bin/yarn npm: 10.8.2 - /run/user/1000/fnm_multishells/89327_1768393120406/bin/npm bun: 1.3.0 - /home/XXX/.local/bin/bun Browsers: Chromium: 143.0.7499.192 Firefox: 146.0.1 Firefox Developer Edition: 146.0.1Used Package Manager
yarn
Logs
No response
Validations