Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vscode not connecting to server #61

Open
Brunnosh opened this issue Nov 30, 2023 · 2 comments
Open

Vscode not connecting to server #61

Brunnosh opened this issue Nov 30, 2023 · 2 comments

Comments

@Brunnosh
Copy link

basically that's it, when i open my scripts folder, the extension doesn't connect to the server and does not work for anything, not even simple snippets.
Screenshot_15

all of my VsCode output tab:
[Error - 8:16:16 PM] Request zenScript/fsReadDirectory failed with message: Error: The "path" argument must be of type string. Received type undefined
c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449
responsePromise.reject(new messages_1.ResponseError(error.code, error.message, error.data));
^

ResponseError: Request zenScript/fsReadDirectory failed with message: Error: The "path" argument must be of type string. Received type undefined
at handleResponse (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449:48)
at processMessageQueue (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:276:17)
at Immediate. (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:260:13)
at process.processImmediate (node:internal/timers:476:21) {
code: -32603,
data: undefined
}

Node.js v18.15.0
[Info - 8:16:16 PM] Connection to server got closed. Server will restart.
[Error - 8:16:17 PM] Unhandled method zenScript/fsReadDirectory
c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449
responsePromise.reject(new messages_1.ResponseError(error.code, error.message, error.data));
^

ResponseError: Unhandled method zenScript/fsReadDirectory
at handleResponse (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449:48)
at processMessageQueue (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:276:17)
at Immediate. (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:260:13)
at process.processImmediate (node:internal/timers:476:21) {
code: -32601,
data: undefined
}

Node.js v18.15.0
[Info - 8:16:17 PM] Connection to server got closed. Server will restart.
[Error - 8:16:17 PM] Unhandled method zenScript/fsReadDirectory
c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449
responsePromise.reject(new messages_1.ResponseError(error.code, error.message, error.data));
^

ResponseError: Unhandled method zenScript/fsReadDirectory
at handleResponse (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449:48)
at processMessageQueue (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:276:17)
at Immediate. (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:260:13)
at process.processImmediate (node:internal/timers:476:21) {
code: -32601,
data: undefined
}

Node.js v18.15.0
[Info - 8:16:17 PM] Connection to server got closed. Server will restart.
[Error - 8:16:17 PM] Unhandled method zenScript/fsReadDirectory
c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449
responsePromise.reject(new messages_1.ResponseError(error.code, error.message, error.data));
^

ResponseError: Unhandled method zenScript/fsReadDirectory
at handleResponse (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449:48)
at processMessageQueue (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:276:17)
at Immediate. (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:260:13)
at process.processImmediate (node:internal/timers:476:21) {
code: -32601,
data: undefined
}

Node.js v18.15.0
[Info - 8:16:17 PM] Connection to server got closed. Server will restart.
[Error - 8:16:17 PM] Unhandled method zenScript/fsReadDirectory
c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449
responsePromise.reject(new messages_1.ResponseError(error.code, error.message, error.data));
^

ResponseError: Unhandled method zenScript/fsReadDirectory
at handleResponse (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449:48)
at processMessageQueue (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:276:17)
at Immediate. (c:\Users\bruno.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:260:13)
at process.processImmediate (node:internal/timers:476:21) {
code: -32601,
data: undefined
}

Node.js v18.15.0
[Error - 8:16:17 PM] Connection to server got closed. Server will not be restarted.

@Sethgno
Copy link

Sethgno commented Dec 31, 2023

i have same issue ever since a VSC update earlier this year so maybe reverting VSC version would fix but idk i havnt tried. if anyone wants something else for now try this one Atishay-Jain.All-Autocomplete it only suggests things from files you have open but still useful

@Herminos
Copy link

Herminos commented Mar 2, 2024

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants