johnsoncodehk / vue-tsc

vue-tsc --noEmit && vite build
https://www.npmjs.com/package/vue-tsc
MIT License
241 stars 6 forks source link

Why verify node_modules #16

Closed anncwb closed 3 years ago

anncwb commented 3 years ago

In order to execute vue-tsc --noEmit, the following error occurred, can I ignore the verification of node_modules

image

johnsoncodehk commented 3 years ago

Try this vue-tsc --noEmit --skipLibCheck.

anncwb commented 3 years ago

The same output

johnsoncodehk commented 3 years ago

Does tsc --noEmit --skipLibCheck (not vue-tsc) has same output?

Zhaocl1997 commented 3 years ago

I got this error executing vue-tsc --noEmit --skipLibCheck

微信截图_20210413133637

johnsoncodehk commented 3 years ago

@Zhaocl1997 see https://github.com/johnsoncodehk/vue-tsc/issues/15.