Restart VS Code

After many hours of coding I learned, that often all it needs for my problem to disappear is to restart VS Code. I don’t know why but it works.


Restart TypeScript Server

Sometimes I run in to strange errors like imports are not working even-though they should. Thats when I should consider to restart the TypeScript Server via the VS Code Command Prompt.

Restart TS Server

Wrong Auto Imports

Auto Imports wont always resolve to the source I intended to. So be aware of this pitfall and confirm whether your auto imports are like you wanted them or not.


npm force

Sometimes some npm packages are not tested with our current react version. Thats when I run into a npm dependecy uptree (name not sure) error. However I can still install the package with the β€”force tag.


Breaking Changes

Its a web developers daily business to run into braking changes (packages work differently in new versions). Thats no reason to panic. While it is annoying, it mostly only requires small code adjustments - no need to stop the web developer career.