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
Astro discovered a failure in our test runner on the latest Vite branch. This error does not exist on the current Vite npm release. We're unable to find a minimal reproduction, but it can be reproduced by cloning both Astro and Vite locally.
Note: we have seen this error before! This was previously resolved by fixing a race condition found here: #8533
Run pnpm build and pnpm link --global from ~/repos/vite/packages/vite
Run pnpm link --global vite from ~/repos/astro/packages/astro
Run pnpm dev (or build) from ~/repos/astro
Run a known failing test, like pnpm test:match "<Code> without lang or theme"
Hit the following error:
Error log
TypeError: Cannot read property 'isSelfAccepting' of undefined
at Object.transform (file:///Users/benholmes/Repositories/vite/packages/vite/dist/node/chunks/dep-b5e99e9a.js:40409:43)
at async transform (file:///Users/benholmes/Repositories/vite/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:21952:16)
at async ModuleLoader.addModuleSource (file:///Users/benholmes/Repositories/vite/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:22178:30)
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
Astro discovered a failure in our test runner on the latest Vite branch. This error does not exist on the current Vite npm release. We're unable to find a minimal reproduction, but it can be reproduced by cloning both Astro and Vite locally.
Note: we have seen this error before! This was previously resolved by fixing a race condition found here: #8533
Reproduction
(see steps)
System Info
Used Package Manager
pnpm
Logs
pnpm build
andpnpm link --global
from~/repos/vite/packages/vite
pnpm link --global vite
from~/repos/astro/packages/astro
pnpm dev
(or build) from~/repos/astro
pnpm test:match "<Code> without lang or theme"
Error log
Validations
The text was updated successfully, but these errors were encountered: