Wei
Wei
not stale.
I encountered this issue recently. I don't quite understand what caused it but I did some changes to eliminate the issues. 1. use typescript of `~4.3.2` 2. Add a `vetur.config.js`...
It's not configurable to disable the runtime code for now. But as a workaround, you can pass `display: none;` to the badgeStyle property to hide the badge entirely at development...
configure it like this and the badge will disappear. ```ts export default defineConfig({ plugins: [ checker({ overlay: { badgeStyle: 'display: none;' , } }), ], }) ``` The runtime code...
Try deleting `node_modules` and `pnpm i` again. Does it work? Did you disabled `hoist` of pnpm in npmrc?
Would you like to paste your package.json
Does this issue still exists after 0.5.0? Although I'm not very clearly what cause the issue, but I added a try catch statement to prevent this. https://github.com/fi3ework/vite-plugin-checker/blob/140f96c3d24f70e118e8397fc23aa7e41e01ee91/packages/vite-plugin-checker/src/checkers/vueTsc/prepareVueTsc.ts#L53-L66
I think it should be fixed in 0.5.0 from latest response in https://github.com/fi3ework/vite-plugin-checker/issues/137
有稳定的复现步骤吗
tracks in #129 . Should be fixed in 0.5.0. Have a try.