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
Error: Call listen() first.
at throwIfNotListening (/home/will/.vscode/extensions/sfodje.perlcritic-1.0.2/server/node_modules/vscode-jsonrpc/lib/main.js:626:19)
at Object.sendRequest (/home/will/.vscode/extensions/sfodje.perlcritic-1.0.2/server/node_modules/vscode-jsonrpc/lib/main.js:716:13)
at Object.sendRequest (/home/will/.vscode/extensions/sfodje.perlcritic-1.0.2/server/node_modules/vscode-languageserver/lib/main.js:737:54)
at RemoteWindowImpl.showErrorMessage (/home/will/.vscode/extensions/sfodje.perlcritic-1.0.2/server/node_modules/vscode-languageserver/lib/main.js:407:33)
at validateExecutable (/home/will/.vscode/extensions/sfodje.perlcritic-1.0.2/server/out/server.js:89:27)
at Object. (/home/will/.vscode/extensions/sfodje.perlcritic-1.0.2/server/out/server.js:66:17)
at Object. (/home/will/.vscode/extensions/sfodje.perlcritic-1.0.2/server/out/server.js:266:3)
at Module._compile (internal/modules/cjs/loader.js:693:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10)
at Module.load (internal/modules/cjs/loader.js:602:32)
[Info - 2:23:54 am] Connection to server got closed. Server will restart.
/home/will/.vscode/extensions/sfodje.perlcritic-1.0.2/server/node_modules/vscode-jsonrpc/lib/main.js:626
throw new Error('Call listen() first.');
The text was updated successfully, but these errors were encountered:
For anyone that hits this issue, to work around it modify your path so that "which perlcritic" can resolve perlcriitic. The error is occurring because when it is not in your path, the server extension is validating it can find it as part of its default settings. If it cannot it issues:
Getting server crashing, output:
The text was updated successfully, but these errors were encountered: