After I update a package , I saw this error( meanwhile I updated my vs code ) / I dont know how to fix this error, appreciate it if anyone helps me out in this case to handle this error
File 'c:/Program Files/Microsoft VS Code/resources/app/extensions/node_modules/typescript/lib/lib.d.ts' not found.
The file is in the program because:
Default library for target 'es5'
This happened to me right after I've updated my VS Code today. Restarting TypeScript server didn't help. So I've found the answer here.
To 'fix' it, I had to:
>Typescript: Select TypeScript Version
I hope it helps.
Restarting the TS server in Visual Studio Code did the trick for me as described here:
CMD
+SHIFT
+P
(or CTRL
-SHIFT
+P
) ->
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With