neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.05k stars 68 forks source link

Error link library #269

Closed thevan96 closed 3 years ago

thevan96 commented 3 years ago

Why library does not links inside folder node_modules without the link to ~/Library/Caches/typescript/... I checked on vscode it still an error, maybe the error is due to the tsserver Screen Shot 2021-03-16 at 12 46 33 PM Screen Shot 2021-03-16 at 12 46 44 PM

chemzqm commented 3 years ago

Seems you didn't install required types to your node_modules folder. You can ask https://github.com/microsoft/TypeScript/issues

thevan96 commented 3 years ago

Screen Shot 2021-03-16 at 2 05 01 PM Screen Shot 2021-03-16 at 2 07 18 PM Sorry, I upload an image missing node_modules I try but it still error

chemzqm commented 3 years ago

Make sure you have correct version of @types/express in your node_modules folder.

thevan96 commented 3 years ago

@types/express diffrent express ? I use javascript not using typescript

chemzqm commented 3 years ago

tsserver need that types to work with your javascript.