-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Error:
Warning: Cannot access the
requirefunction: "TypeError: process.getBuiltinModule is not a function. (In 'process.getBuiltinModule("module")', 'process.getBuiltinModule' is undefined)".
Warning: Cannot polyfillDOMMatrix, rendering may be broken.
Warning: Cannot polyfillImageData, rendering may be broken.
Warning: Cannot polyfillPath2D, rendering may be broken.
message: "(ReferenceError) Can't find variable: DOMMatrix"
stack: [
"ReferenceError: Can't find variable: DOMMatrix",
"at /home/ziad/git/AItools/eliza_test_project/node_modules/@elizaos/plugin-knowledge/node_modules/pdfjs-dist/legacy/build/pdf.mjs:13750:26",
"at moduleEvaluation (native)",
"at moduleEvaluation (native)",
"at (native:2)",
"at processTicksAndRejections (native:7:39)"
]
Steps to reproduce:
load some memories using the plugin-knowledge (load some RAG files)
then you clear the memories using "elizaos agent clear-memories --name {youragent}"
then you run the project again using like "elizaos dev"
the error will appear and the plugin-knowledge would never work!
Version:
"@elizaos/cli": "^1.3.2",
"@elizaos/core": "^1.3.2",
"@elizaos/plugin-bootstrap": "^1.3.2",
"@elizaos/plugin-knowledge": "^1.2.1",