TypeError: Cannot read properties of undefined (reading 'hash') #13

Open
opened 2022-11-11 16:22:59 +00:00 by raucao · 0 comments
Owner
Nov 11 16:02:35 ipfs-1 node[49211]: Watching contract events for new documents...
Nov 11 16:02:35 ipfs-1 node[49211]: /opt/ipfs-pinner/index.js:82
Nov 11 16:02:35 ipfs-1 node[49211]:       console.log('Pinned a new document:', pin[0]["hash"]);
Nov 11 16:02:35 ipfs-1 node[49211]:                                                   ^
Nov 11 16:02:35 ipfs-1 node[49211]: TypeError: Cannot read properties of undefined (reading 'hash')
Nov 11 16:02:35 ipfs-1 node[49211]:     at /opt/ipfs-pinner/index.js:82:51
Nov 11 16:02:35 ipfs-1 node[49211]:     at runMicrotasks (<anonymous>)
Nov 11 16:02:35 ipfs-1 node[49211]:     at processTicksAndRejections (node:internal/process/task_queues:96:5)     
```bash Nov 11 16:02:35 ipfs-1 node[49211]: Watching contract events for new documents... Nov 11 16:02:35 ipfs-1 node[49211]: /opt/ipfs-pinner/index.js:82 Nov 11 16:02:35 ipfs-1 node[49211]: console.log('Pinned a new document:', pin[0]["hash"]); Nov 11 16:02:35 ipfs-1 node[49211]: ^ Nov 11 16:02:35 ipfs-1 node[49211]: TypeError: Cannot read properties of undefined (reading 'hash') Nov 11 16:02:35 ipfs-1 node[49211]: at /opt/ipfs-pinner/index.js:82:51 Nov 11 16:02:35 ipfs-1 node[49211]: at runMicrotasks (<anonymous>) Nov 11 16:02:35 ipfs-1 node[49211]: at processTicksAndRejections (node:internal/process/task_queues:96:5) ```
raucao self-assigned this 2022-11-11 16:31:06 +00:00
Sign in to join this conversation.
No description provided.