We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vitest seems to be using a frozen data structure for resolve conditions
sveltejs/kit#13324
I noticed this in the renovate PR to SvelteKit for upgrading to Vitest 3
[email protected] : test packages/kit/test/prerendering/basics > [email protected] test /home/runner/work/kit/kit/packages/kit/test/prerendering/basics > vitest run Warning: G] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json] tsconfig.json:7:12: 7 │ "extends": "./.svelte-kit/tsconfig.json" ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ⎯⎯⎯⎯⎯⎯⎯ Startup Error ⎯⎯⎯⎯⎯⎯⎯⎯ TypeError: Cannot add property 3, object is not extensible at Array.push (<anonymous>) at configEnvironment (file:///home/runner/work/kit/kit/node_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected][email protected]_/node_modules/@sveltejs/vite-plugin-svelte/src/index.js:76:31) at runConfigEnvironmentHook (file:///home/runner/work/kit/kit/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcnkIxro.js:53615:27) at resolveConfig (file:///home/runner/work/kit/kit/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcnkIxro.js:53048:9) at async _createServer (file:///home/runner/work/kit/kit/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcnkIxro.js:43320:18) at async createViteServer (file:///home/runner/work/kit/kit/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vitest/dist/chunks/cli-api.CmJw5Cd_.js:9963:18) at async createVitest (file:///home/runner/work/kit/kit/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vitest/dist/chunks/cli-api.CmJw5Cd_.js:13145:18) at async prepareVitest (file:///home/runner/work/kit/kit/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vitest/dist/chunks/cli-api.CmJw5Cd_.js:13564:15) at async startVitest (file:///home/runner/work/kit/kit/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vitest/dist/chunks/cli-api.CmJw5Cd_.js:13495:15) at async start (file:///home/runner/work/kit/kit/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vitest/dist/chunks/cac.DZC9WjGM.js:1571:17)
vitest 3
The text was updated successfully, but these errors were encountered:
vitest
cc @sheremet-va
Sorry, something went wrong.
repro https://github.com/dominikg/vitest-example-svelte5/tree/chore/updates
fixed in [email protected]
No branches or pull requests
Describe the bug
Vitest seems to be using a frozen data structure for resolve conditions
Reproduction URL
sveltejs/kit#13324
Reproduction
I noticed this in the renovate PR to SvelteKit for upgrading to Vitest 3
Logs
System Info
The text was updated successfully, but these errors were encountered: