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

The ZenScript serevr crashed 5 times in the last 3 mintues. The server will not be restarted. #63

Open
LzzKill opened this issue Jan 16, 2025 · 0 comments

Comments

@LzzKill
Copy link

LzzKill commented Jan 16, 2025

image

大概就是这样,然后日志在这里:

[Error - 16:40:50] Request zenScript/fsReadDirectory failed with message: Error: The "path" argument must be of type string. Received type undefined
c:\Users\qa000\.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\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449:48)
    at processMessageQueue (c:\Users\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:276:17)
    at Immediate.<anonymous> (c:\Users\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:260:13)
    at process.processImmediate (node:internal/timers:483:21) {
  code: -32603,
  data: undefined
}

Node.js v20.18.1
[Info  - 16:40:52] Connection to server got closed. Server will restart.
[Error - 16:40:54] Unhandled method zenScript/fsReadDirectory
c:\Users\qa000\.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\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449:48)
    at processMessageQueue (c:\Users\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:276:17)
    at Immediate.<anonymous> (c:\Users\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:260:13)
    at process.processImmediate (node:internal/timers:483:21) {
  code: -32601,
  data: undefined
}

Node.js v20.18.1
[Info  - 16:40:54] Connection to server got closed. Server will restart.
[Error - 16:40:55] Unhandled method zenScript/fsReadDirectory
c:\Users\qa000\.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\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449:48)
    at processMessageQueue (c:\Users\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:276:17)
    at Immediate.<anonymous> (c:\Users\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:260:13)
    at process.processImmediate (node:internal/timers:483:21) {
  code: -32601,
  data: undefined
}

Node.js v20.18.1
[Info  - 16:40:55] Connection to server got closed. Server will restart.
[Error - 16:40:56] Unhandled method zenScript/fsReadDirectory
c:\Users\qa000\.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\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449:48)
    at processMessageQueue (c:\Users\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:276:17)
    at Immediate.<anonymous> (c:\Users\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:260:13)
    at process.processImmediate (node:internal/timers:483:21) {
  code: -32601,
  data: undefined
}

Node.js v20.18.1
[Info  - 16:40:56] Connection to server got closed. Server will restart.
[Error - 16:40:57] Unhandled method zenScript/fsReadDirectory
c:\Users\qa000\.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\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:449:48)
    at processMessageQueue (c:\Users\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:276:17)
    at Immediate.<anonymous> (c:\Users\qa000\.vscode\extensions\yesterday17.zenscript-0.2.10\node_modules\vscode-jsonrpc\lib\main.js:260:13)
    at process.processImmediate (node:internal/timers:483:21) {
  code: -32601,
  data: undefined
}

Node.js v20.18.1
[Error - 16:40:57] Connection to server got closed. Server will not be restarted.

除此之外就没啥了,还有自动代码提示能用

#About

OS: Windows 10

Editor: Visual Studio Code 1.96.3

Minecraft Mod Version: Probe 0.1.24

ZenScript Ext: 0.2.30

事实上在Linux上也是这样的。

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

1 participant