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

TypeError: Cannot read properties of null (reading 'match')\n #319

Open
Variacat opened this issue Nov 12, 2024 · 4 comments
Open

TypeError: Cannot read properties of null (reading 'match')\n #319

Variacat opened this issue Nov 12, 2024 · 4 comments

Comments

@Variacat
Copy link

[ './andy.json' ]
Starting agent with profile: ./andy.json
Starting agent initialization with profile: ./andy.json
Initializing action manager...
Initializing prompter...
Using chat settings: { model: 'llama3.2', api: 'ollama' }
Using embedding settings: { api: 'none' }
Unknown embedding: none . Using word overlap.
Initializing history...
Initializing coder...
Initializing npc controller...
Initializing memory bank...
Initializing self prompter...
Initializing examples...
Logging into minecraft...
(node:8116) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
Logged in!
andy spawned.
received message from system : Say hello world and your name
Saved memory to: ./bots/andy/memory.json
selected examples:
brug: Remember that your base is here.
user43: Set a goal to survive on your own forever.
Awaiting local response... (model: llama3.2)
Failed to send Ollama request.
{}
Error handling startup conditions: {}
Unhandled Rejection at: {
promise: Object [Promise] {},
reason: {},
stack: "TypeError: Cannot read properties of null (reading 'match')\n" +
' at containsCommand (file:///C:/Users/Variacat/Documents/mindcraft-main/src/agent/commands/index.js:21:34)\n' +
' at Agent.handleMessage (file:///C:/Users/Variacat/Documents/mindcraft-main/src/agent/agent.js:269:32)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' +
' at async Agent._handleStartupConditions (file:///C:/Users/Variacat/Documents/mindcraft-main/src/agent/agent.js:164:17)'
}
SES_UNHANDLED_REJECTION: {}
Agent process exited with code 1 and signal null
Agent process ./andy.json exited too quickly and will not be restarted.
All agent processes have ended. Exiting.

@Uncover-F
Copy link

This seems to be a code issue and probablly has nothing to do with you. What OS are u on? It’s not so stable on Linux or Mac.

@Harry989
Copy link

This seems to be a code issue and probablly has nothing to do with you. What OS are u on? It’s not so stable on Linux or Mac.

I have this exact error, I am currently on Windows 10.

@Variacat
Copy link
Author

This seems to be a code issue and probablly has nothing to do with you. What OS are u on? It’s not so stable on Linux or Mac.

Windows 11

@Tascok
Copy link

Tascok commented Dec 7, 2024

This seems to be a code issue and probablly has nothing to do with you. What OS are u on? It’s not so stable on Linux or Mac.

I have this exact error, I am currently on Windows 11

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

4 participants