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 extension is uninitializeable #1694

Open
icer233 opened this issue Dec 28, 2024 · 5 comments
Open

VsCode extension is uninitializeable #1694

icer233 opened this issue Dec 28, 2024 · 5 comments

Comments

@icer233
Copy link

icer233 commented Dec 28, 2024

Error Information:

The Spyglass Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

spyglass.json

{
    "env": {
        "gameVersion": "1.20.1",
        "env": "jsDeliver"
    }
}
@misode
Copy link
Member

misode commented Dec 28, 2024

Could you open the extension log and share that here? You can get it by running the Spyglass: Show Output command from the command palette (Ctrl+Shift+P)

@icer233
Copy link
Author

icer233 commented Dec 29, 2024

log.txt

@icer233 icer233 changed the title VsCode extention is uninitializeable VsCode extension is uninitializeable Dec 29, 2024
@Krono7
Copy link

Krono7 commented Dec 29, 2024

I have the same problem since a few days only, the only ouput i have is this :

Error: There is no parser registered for language ID 'mcfunction'
    at v0.getParserForLanguageId (c:\Users\jobea\.vscode\extensions\spgoding.datapack-language-server-4.4.2\dist\server.js:69:7183)
    at Co.parse (c:\Users\jobea\.vscode\extensions\spgoding.datapack-language-server-4.4.2\dist\server.js:69:19548)
    at Co.onDidOpen (c:\Users\jobea\.vscode\extensions\spgoding.datapack-language-server-4.4.2\dist\server.js:69:21677)
    at c:\Users\jobea\.vscode\extensions\spgoding.datapack-language-server-4.4.2\dist\server.js:128:26132
    at Xe (c:\Users\jobea\.vscode\extensions\spgoding.datapack-language-server-4.4.2\dist\server.js:15:1561)
    at sr (c:\Users\jobea\.vscode\extensions\spgoding.datapack-language-server-4.4.2\dist\server.js:14:6205)
    at Ee (c:\Users\jobea\.vscode\extensions\spgoding.datapack-language-server-4.4.2\dist\server.js:14:6358)
    at Immediate.<anonymous> (c:\Users\jobea\.vscode\extensions\spgoding.datapack-language-server-4.4.2\dist\server.js:14:6123)
    at process.processImmediate (node:internal/timers:483:21)

Node.js v20.18.1
[Info  - 14:53:22] [Profiler: project#ready] Bind Files       - 0.18120000000001824 ms
[Info  - 14:53:22] [Profiler: project#ready] Total            - 2.7801000000000045 ms
[Error - 14:53:22] Server process exited with code 1.
[Error - 14:53:22] The Spyglass Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 14:41:03] Stopping server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 

@misode
Copy link
Member

misode commented Dec 29, 2024

@icer233 It looks like on your network, the url https://raw.githubusercontent.com/misode/mcmeta/summary/versions/data.json.gz is being blocked. Maybe this is a firewall issue, or you can try enabling a VPN?

@Krono7 Please open a separate issue and share your full log file, as that error alone is not the direct cause.

@icer233
Copy link
Author

icer233 commented Dec 30, 2024

@misode
i already tried to use vpn (also tried not to use). but i only get different error messages,
the log above is what i got with vpn on

can i download the necessay files by myself?
like downloading supporting files from a link and put it in a particular location to let the extension wrok properly

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

No branches or pull requests

3 participants