Skip to content

TSC compiler errors with slot(s) #551

Answered by jzs11
jzs11 asked this question in Q&A
Oct 3, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

hmm I spent the whole morning to fix this thing. It turns out if I remove the lock.json file then do a npm i, the problem will come to bite me.

But If I use:

  • npm uninstall vue-tsc
  • npm clear cache --force
  • npm install vue-tsc

All those errors are gone.

However, one thing I noticed those local import components will show type any instead of proper type.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jzs11
Comment options

@johnsoncodehk
Comment options

@jzs11
Comment options

Answer selected by johnsoncodehk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants