nft.storage icon indicating copy to clipboard operation
nft.storage copied to clipboard

nft.storage-tools status.js error

Open makeitrad opened this issue 3 years ago • 0 comments

Im getting the following when using nft.storage-tools status.js

nft.storage-tools % node status.js ipfs100.txt 
🔌 Using endpoint: https://api.nft.storage
⠋ (node:17772) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
  Errored
💖 Total: 31
📌 Pinned: 26 (84%)
💀 Failed: 4 (13%)
🔁 Requests/sec: 3.1
✖ Error: err.message.contains is not a function
node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

TypeError: err.message.contains is not a function
    at file:///Users/b/nft.storage-tools/status.js:55:31
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 45)
    at async file:///Users/b/nft.storage-tools/status.js:47:11

Node.js v18.0.0

makeitrad avatar Jun 20 '22 16:06 makeitrad