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
node:internal/event_target:777
process.nextTick(() => { throw err; });
^
TypeError [Error]: _b.getLineAndCharacterOfPosition is not a function
at normalizeTsDiagnostic (C:\Users\dszar\OneDrive\Pulpit\nx-vnts\node_modules\vite-plugin-checker\lib\logger.js:157:79)
at normalizeVueTscDiagnostic (C:\Users\dszar\OneDrive\Pulpit\nx-vnts\node_modules\vite-plugin-checker\lib\logger.js:245:22)
at reportDiagnostic (C:\Users\dszar\OneDrive\Pulpit\nx-vnts\node_modules\vite-plugin-checker\lib\checkers\vueTsc\main.js:59:82)
at Array.forEach (<anonymous>)
at emitFilesAndReportErrors (C:\Users\dszar\OneDrive\Pulpit\nx-vnts\node_modules\vite-plugin-checker\lib\checkers\vueTsc\typescript-vue-tsc\lib\tsc.js:101605:21)
at Object.result.afterProgramCreate (C:\Users\dszar\OneDrive\Pulpit\nx-vnts\node_modules\vite-plugin-checker\lib\checkers\vueTsc\typescript-vue-tsc\lib\tsc.js:101773:13)
at synchronizeProgram (C:\Users\dszar\OneDrive\Pulpit\nx-vnts\node_modules\vite-plugin-checker\lib\checkers\vueTsc\typescript-vue-tsc\lib\tsc.js:102061:22)
at Object.createWatchProgram (C:\Users\dszar\OneDrive\Pulpit\nx-vnts\node_modules\vite-plugin-checker\lib\checkers\vueTsc\typescript-vue-tsc\lib\tsc.js:101976:9)
at Object.configureServer (C:\Users\dszar\OneDrive\Pulpit\nx-vnts\node_modules\vite-plugin-checker\lib\checkers\vueTsc\main.js:96:13)
at MessagePort.<anonymous> (C:\Users\dszar\OneDrive\Pulpit\nx-vnts\node_modules\vite-plugin-checker\lib\worker.js:75:24)
Emitted 'error' event on Worker instance at:
at Worker.[kOnErrorMessage] (node:internal/worker:289:10)
at Worker.[kOnMessage] (node:internal/worker:300:37)
at MessagePort.<anonymous> (node:internal/worker:201:57)
at MessagePort.[nodejs.internal.kHybridDispatch] (node:internal/event_target:562:20)
at MessagePort.exports.emitMessage (node:internal/per_context/messageport:23:28)
After run with typescript: true option everything works but without type checking for *.vue files.
It's a bug due to the diagnosis is not reported from a specific line but a typescript project setting. I will fix this later and you can fix the project issue first as a workaround.
Describe the bug
After run with
vueTsc: true
option:After run with
typescript: true
option everything works but without type checking for*.vue
files.Reproduction
Here is repo: https://github.com/DhivinX/nx-vnts
Expected behavior
I don't know if it's a bug or my monorepo settings are causing this error.
If I was wrong, please help.
But..
When I manually run the type check with vue-tsc package then everything works fine.
System Info
Additional context
vite.config.ts
Validations
The text was updated successfully, but these errors were encountered: