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
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: