-
-
Notifications
You must be signed in to change notification settings - Fork 6
Thousands of TS errors #65
Comments
See vuejs/language-tools#437 🤔 |
Replied, reproduce wanted. :S |
I'm down from There are only mainly two types of errors
I think I will update the repro and tell you when it's ready |
The second error occurred through Setting it to ... Will dig further down for the other errors ... |
I think this is correct report, if you have no use |
But I have... that's the point ^^, otherwise I would remove it The other errors are really random and I currently don't find out why the occur 🤔 I will update the repro now, but everything in it works... |
Also before last thursday I didn't had all these issues, then some updates in I would like to rollback to last thursday... |
I'm away for next hour. Not sure I will come back today, otherwise see you tomorrow 👋 Thx for all your work 💚 |
It's because line 7 |
I have one more step to success! I found out that the issue that all these variables cannot be found is based on one sub-sub component! Now I need to find out what exactly the problem is. |
It has something to do with following code v-btn(icon, @click="currentPreviewIndex--", :disabled="currentPreviewIndex <= 0")
//- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^~~~ But even when I try to reproduce it, it just works It took me 2-3 hours to find me this code line I think my workaround would be for now to move this condition to a computed and then use that |
It seem a pug parser problem, and working good in html. Will check it. |
We use HTMLDocument from |
Please track vuejs/language-tools#451. |
My companies project uses vue-tsc
~0.3.0
and vscode-vue-languageservice~0.27.7
Last week everything worked, but today (after weekend) I just run
rm yarn.lock && yarn
to update all dependencies and now when I runyarn vue-tsc --noEmit
I get3780
TS errors.They mostly look like
TS2304: Cannot find name 'XXX'.
orTS2306: File 'XXX' is not a module.
But even when I pin the both deps, I still get these errors.
Only when I reset my
yarn.lock
andpackage.json
and then runyarn install --immutable
then I don't get the errors.But this or that way, vite dev server shows everything works normally.
The text was updated successfully, but these errors were encountered: