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

[tsserver 2307] [E] Cannot find module 'react-router-dom' or its corresponding type #271

Closed flleonx closed 3 years ago

flleonx commented 3 years ago

I don't know why I get this warning if all the routes are properly configured. It happens with all the files that I want to import. In VSCode I don't get any problem.

vim vim2

chemzqm commented 3 years ago

Should be problem of your language server, checkout https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel