NuxtN
Nuxt17mo ago
5 replies
dmarr

nuxi typecheck returns errors from files in node_modules

A couple oddities with
nuxi typecheck
-- I find it reporting on errors that appear in my node_modules directory. Granted, its for a package that I am extending (
extends
in config). But still, shouldn't it stay confined to the current application? I have tried setting the root to
src
in the
typecheck
npm script but it still reports on those errors.

The other thing is, those errors don't show up in my ide. I have the layer package added to the vscode ide and it doesn't report on any of the errors that nuxi typecheck does (that are contained in the node_modules dir).

Have people worked around this somehow? I imagine I could execute
vue-tsc
manually
Was this page helpful?