-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
Description
Environment
- Operating System: Linux
- Node Version: v22.8.0
- Nuxt Version: 3.13.2
- CLI Version: 3.13.2
- Nitro Version: 2.9.7
- Package Manager: [email protected]
- Builder: -
- User Config: -
- Runtime Modules: -
- Build Modules: -
Package
@nuxt/eslint
Reproduction
https://github.com/GaborTorma/nuxt-eslint-vs-code-js-debug-terminal-error4
You need to clone it and start with VS Code and run pnpm i
If you run pnpm dev in bash -> no error
If you run pnpm dev in VS Code JS Debugger terminal -> got error.
Describe the bug
The issue is same with #338, but now the workaround not working. The configType
is defined to flat
and the error shown.
ERROR [uncaughtException] Cannot read properties of undefined (reading 'lintFiles')
at lintFiles (node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]_@[email protected][email protected]_/node_modules/vite-plugin-eslint2/dist/shared/vite-plugin-eslint2.f755bcfe.mjs:270:119)
at MessagePort.<anonymous> (node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]_@[email protected][email protected]_/node_modules/vite-plugin-eslint2/dist/worker.mjs:37:3)
Additional context
No response
Logs
No response
danielaag