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

Agent process ./andy.json exited too quickly and will not be restarted. #400

Open
noname265 opened this issue Jan 6, 2025 · 1 comment

Comments

@noname265
Copy link

Microsoft Windows [Version 10.0.19045.2251]
(c) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.

C:\Users\User>cd Documents

C:\Users\User\Documents>cd mindcraft-main

C:\Users\User\Documents\mindcraft-main>node main.js
[ './andy.json' ]
MindServer running on port 8080
Client connected
Registering agents: andy
Agents registered
file:///C:/Users/User/Documents/mindcraft-main/src/agent/commands/actions.js:423
{
^

SyntaxError: Unexpected token '{'
at compileSourceTextModule (node:internal/modules/esm/utils:340:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:102:18)
at #translate (node:internal/modules/esm/loader:433:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:480:27)

Node.js v22.11.0
Agent process exited with code 1 and signal null
Agent process ./andy.json exited too quickly and will not be restarted.

@Kapoowe-ai
Copy link

If you have access to an IDE such as Visual Studio Code, you can fix this with ease. by going into ...\mindcraft\src\agent\commands\actions.js and adding a comma(,) at line 409

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

2 participants