koii-network / ezsandbox

The best place to get started with all things decentralized
47 stars 21 forks source link

Runtime Errors on Lesson 2 due to missing or wrong codes #81

Closed eastmaels closed 2 months ago

eastmaels commented 2 months ago

I followed the steps here but it seems that the task does not deploy successfully due to some runtime errors?

https://github.com/koii-network/ezsandbox/blob/main/Lesson%202/PartII.md

I think the same errors happen in the after version of the codes.

Some errors I encountered:

Tue, Jul 9, 2024, 12:16:31 AM] ERROR IN EXECUTING TASK TypeError: getData.getAddressArray is not a function
    at Submission.task (/Users/east/Library/Application Support/KOII-Desktop-Node/executables/bafybeidmoyvkcw5h5woi2zuh4ribdfrlnwynnltws7tbd6o2cmbqvsjozq.js:77203:38)
    at CoreLogic.task (/Users/east/Library/Application Support/KOII-Desktop-Node/executables/bafybeidmoyvkcw5h5woi2zuh4ribdfrlnwynnltws7tbd6o2cmbqvsjozq.js:15:42)
    at process.<anonymous> (/Users/east/Library/Application Support/KOII-Desktop-Node/executables/bafybeidmoyvkcw5h5woi2zuh4ribdfrlnwynnltws7tbd6o2cmbqvsjozq.js:81369:17)
    at process.emit (node:events:513:28)
    at emit (node:internal/child_process:937:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
[Mon, Jul 8, 2024, 11:47:48 PM] ERROR: /Users/east/Library/Application Support/KOII-Desktop-Node/executables/bafybeidmoyvkcw5h5woi2zuh4ribdfrlnwynnltws7tbd6o2cmbqvsjozq.js:76807
    const state = await namespaceWrapper.getTaskState();
                  ^
ReferenceError: namespaceWrapper is not defined
    at /Users/east/Library/Application Support/KOII-Desktop-Node/executables/
labrocadabro commented 2 months ago

just noticed that and put in a PR for it already.