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
[TSCONFIG_ERROR] Error: Failed to load tsconfig for'src/main.tsx': Tsconfig not found
Plugin: vite:oxc
File: /home/phil/Dev/Web/phil.red/src/main.tsx
at transformWithOxc (file:///home/phil/Dev/Web/phil.red/.yarn/__virtual__/vite-virtual-f163d06fe8/4/.yarn/berry/cache/vite-npm-8.0.0-259ca3eb1b-10.zip/node_modules/vite/dist/node/chunks/node.js:3719:19)
at TransformPluginContext.transform (file:///home/phil/Dev/Web/phil.red/.yarn/__virtual__/vite-virtual-f163d06fe8/4/.yarn/berry/cache/vite-npm-8.0.0-259ca3eb1b-10.zip/node_modules/vite/dist/node/chunks/node.js:3795:26)
at EnvironmentPluginContainer.transform (file:///home/phil/Dev/Web/phil.red/.yarn/__virtual__/vite-virtual-f163d06fe8/4/.yarn/berry/cache/vite-npm-8.0.0-259ca3eb1b-10.zip/node_modules/vite/dist/node/chunks/node.js:29998:51)
at async loadAndTransform (file:///home/phil/Dev/Web/phil.red/.yarn/__virtual__/vite-virtual-f163d06fe8/4/.yarn/berry/cache/vite-npm-8.0.0-259ca3eb1b-10.zip/node_modules/vite/dist/node/chunks/node.js:24133:26)
at async viteTransformMiddleware (file:///home/phil/Dev/Web/phil.red/.yarn/__virtual__/vite-virtual-f163d06fe8/4/.yarn/berry/cache/vite-npm-8.0.0-259ca3eb1b-10.zip/node_modules/vite/dist/node/chunks/node.js:24941:20)
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
Using yarn ≥2, having
"extends": "<package>/<file>"in atsconfig.jsonbreaks vite v8 with the misleading error messageReproduction
https://stackblitz.com/edit/vitejs-vite-chte2ura?file=package.json
Steps to reproduce
yarn set version berry(doesn’t work on stackblitz: yarn berry (v2, v3, v4, …) is not supported on StackBlitz stackblitz/webcontainer-core#1235)yarnyarn devSystem Info
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 22.22.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.8.2 - /usr/local/bin/npm pnpm: 8.15.6 - /usr/local/bin/pnpm npmPackages: vite: ^8.0.0 => 8.0.0Used Package Manager
yarn
Logs
Details
Validations