N
Nuxt5mo ago
pile

Typescript errors after building for production

I'm using nuxt 3.11.2, and things work fine on development but when I try building the application, I get these TS errors for things which should be autoimported . I've tried installing several versions of vue-tsc and typescript, but to no avail. In addition nuxi typecheck also stopped working
No description
3 Replies
pile
pileOP5mo ago
I tried changing the nuxt version to 3.12.2 but to no avail.
Zampa
Zampa5mo ago
Are you using any other typescript related packages? what does your tsconfig.json look like in the root?
pile
pileOP5mo ago
Hey @Nathan Chase , you got it right. My tsconfig “include” option was messing up everything
Want results from more Discord servers?
Add your server