ecosse3 / nvim

A non-minimal Neovim config built to work most efficiently with Frontend Development
GNU General Public License v3.0
1.19k stars 109 forks source link

Issue right after install #158

Closed Antonio-Rocchia closed 10 months ago

Antonio-Rocchia commented 10 months ago

I'm running Fedora 38 and I got this error after opening my first javascript file: ...pt-tools.nvim/lua/typescript-tools/tsserver_provider.lua:133: Cannot find tsserver executable i n local project nor global npm installation. stack traceback

I've tried removing neovim state, cache and config folder and reinstalling the distribution. I've also tried installing tsserver via Mason

pmizio commented 10 months ago

Hello, I'm author of typescript-tools.nvim. You get error from it and error says exactly what is going on - typescript isn't installed in paths known by npm:

Currently plugin don't support Mason installed paths but if you want to use it you can do this manually using following https://github.com/pmizio/typescript-tools.nvim/issues/106#issuecomment-1637124589 snippet.

I hope it helps and sorry @ecosse3 for interfering ;}

ecosse3 commented 10 months ago

@Antonio-Rocchia Explanation provided by @pmizio should help you solve that issue.

@pmizio Thanks, I was busy last time and didn't look into Ecovim issues 😄 I'll look into solution of using tsserver installation path from Mason and maybe add it to Ecovim!