You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error in the log indicates that the bin.js file doesn't exists. After some investigation, I found that since @prisma/language-server 5.15.0, the bin.js file is not in dist/src anymore but dist.
@demaisj Thanks for the bug report. I don't use Prisma myself anymore (but just update the language server version from time to time), so I missed this. This should be addressed in 1.0.18.
Description of the bug
The prisma language server crashes when starting.
The error in the log indicates that the
bin.js
file doesn't exists.After some investigation, I found that since
@prisma/language-server
5.15.0, thebin.js
file is not indist/src
anymore butdist
.A simple fix would then be in
plugin.py
:Shall I do a PR for that?
Steps to reproduce
Expected behavior
It should correctly start the language server
Actual behavior
The language server doesn't start.
Troubleshooting information from LSP.
LSP Troubleshoot server: LSP-prisma output
Troubleshooting: LSP-prisma
Version
Server Test Run
Server Configuration
/home/user/.nvm/versions/node/v20.17.0/bin/node "/home/user/.cache/sublime-text/Package Storage/LSP-prisma/20.17.0/language-server/node_modules/@prisma/language-server/dist/src/bin.js" --stdio
Active view
Project / Workspace
[ "/home/user/project" ]
LSP configuration
System PATH
LSP-prisma version
1.0.17
The text was updated successfully, but these errors were encountered: