Closed CnsMaple closed 1 month ago
Should it be looking for node_modules\typescript\lib in my root directory?
lsp-bridge looking for typescript's tsdk at %USERPROFILE%\AppData\Roaming\npm\node_modules\typescript\lib
You need set env USERPROFILE
first, make sure lsp-bridge can found it, if not, you need fork volar_windows.json and setup your own config
Sorry, I already have USERPROFILE but it still does this, how is volar_windows.json configured, I didn't find any documentation about it? Is it directly in the root directory of the project?
Sorry, I already have USERPROFILE but it still does this, how is volar_windows.json configured, I didn't find any documentation about it? Is it directly in the root directory of the project?
It worked. Thanks.
This is the log. Also there are no complements. I use Windows
Recv message (error): { "jsonrpc": "2.0", "id": 34626, "error": { "code": -32603, "message": "Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in \"%USERPROFILE%\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib\"" } } Eval in Emacs: (message '"[LSP-Bridge] Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in \"%USERPROFILE%\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib\"") ERROR:epc:ReturnError([Symbol('error'), 'Not enough arguments for format string']