We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version 0.1.3
When running spawn, the env var MODULE_TX is passed as undefined to the Docker container.
Maybe at
ao/dev-cli/src/commands/spawn.js
Line 19 in d370474
ao spawn --module SOME_MODULE_TX -w ../arweave-keyfile.json
node:internal/process/promises:288 triggerUncaughtException(err, true /* fromPromise */); ^
Error: Invalid Arguments '0': Required. at errFrom (file:///opt/node/node_modules/@permaweb/aoconnect/dist/index.js:383:9) at file:///opt/node/node_modules/@permaweb/aoconnect/dist/index.js:17:18 at file:///opt/node/node_modules/@permaweb/aoconnect/dist/index.js:17:14 at file:///opt/node/node_modules/@permaweb/aoconnect/dist/index.js:17:14ZodError: [ { "code": "invalid_arguments", "argumentsError": { "issues": [ { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ 0 ], "message": "Required" } ], "name": "ZodError" }, "path": [], "message": "Invalid function arguments" } ] at file:///opt/node/node_modules/zod/lib/index.mjs:3166:31 at Object.fork (file:///opt/node/node_modules/@permaweb/aoconnect/dist/index.js:39:17) at file:///opt/node/node_modules/@permaweb/aoconnect/dist/index.js:21:61 Node.js v18.17.0
Error: Invalid Arguments '0': Required. at errFrom (file:///opt/node/node_modules/@permaweb/aoconnect/dist/index.js:383:9) at file:///opt/node/node_modules/@permaweb/aoconnect/dist/index.js:17:18 at file:///opt/node/node_modules/@permaweb/aoconnect/dist/index.js:17:14 at file:///opt/node/node_modules/@permaweb/aoconnect/dist/index.js:17:14ZodError: [ { "code": "invalid_arguments", "argumentsError": { "issues": [ { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ 0 ], "message": "Required" } ], "name": "ZodError" }, "path": [], "message": "Invalid function arguments" } ] at file:///opt/node/node_modules/zod/lib/index.mjs:3166:31 at Object.fork (file:///opt/node/node_modules/@permaweb/aoconnect/dist/index.js:39:17) at file:///opt/node/node_modules/@permaweb/aoconnect/dist/index.js:21:61
Node.js v18.17.0
The text was updated successfully, but these errors were encountered:
Adding the screenshot from Docker Desktop, showing MODULE_TX=undefined.
Sorry, something went wrong.
We'll need to look into this. Most ao builders are using aos to spawn their own modules that extend aos.
aos
You can also use aoconnect to spawn a process from a module.
aoconnect
@TillaTheHun0, thanks again!
I opened the PR #1005 to fix this issue.
No branches or pull requests
Version 0.1.3
When running spawn, the env var MODULE_TX is passed as undefined to the Docker container.
Maybe at
ao/dev-cli/src/commands/spawn.js
Line 19 in d370474
The text was updated successfully, but these errors were encountered: