Not sure if it’s actually an issue or if there is something that I did wrong. After updating and updating coc configuration the server crashed. I tried running the server with node and got this
Error: Cannot find module 'vscode-jsonrpc/node'
I did npm install inside the server dir and the server started working. But I’m not sure if it’s actually working. It doesn’t crash but hover doesn’t work (hover not found), :RescriptTypeHint and :RescriptJumpToDefinition fails with Type Info failed with exit code '127'. :RescriptInfo results in
Okay thanks, we noticed some problems with module hoisting of vscode-jsonrpc (I KNEW this dependency is going to bite us when someone proposed to add just this small dependency for some additional functionality, lol)
If I npm install manually inside the server dir the functionality is there so that’s good.
But installation still fails. While installing vim-plug seems to take some time when installing vim-rescript and it doesn’t seem to fail but unless I npm install manually it doesn’t work
i wonder what’s different between my, @joakin’s and your machine, since I literally committed the npm installed deps into version control, and I have no idea why it should behave differently…
Can you show the git diff in your working vim-rescript folder? (maybe let’s discuss this further in the PR?)
I tried 2.0.1 and I also get the same issue where I need to npm install in the server directory. It looks like before doing that, nothing works (syntax highlighting, commands). Everything is working fine after installing.
I use vim-plug and at first just did an update, then completely removed it with a fresh install, but both times I ran into the issue. My git diff after an npm install is