$ mops i
node:internal/deps/undici/undici:11731
Error.captureStackTrace(err, this);
^
TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11731:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async HttpAgent._requestAndRetry (/home/porton/.nvm/versions/node/v21.5.0/lib/node_modules/ic-mops/node_modules/@dfinity/agent/lib/cjs/agent/http/index.js:265:26)
at async HttpAgent.query (/home/porton/.nvm/versions/node/v21.5.0/lib/node_modules/ic-mops/node_modules/@dfinity/agent/lib/cjs/agent/http/index.js:312:26)
at async caller (/home/porton/.nvm/versions/node/v21.5.0/lib/node_modules/ic-mops/node_modules/@dfinity/agent/lib/cjs/actor.js:181:28)
at async checkApiCompatibility (file:///home/porton/.nvm/versions/node/v21.5.0/lib/node_modules/ic-mops/dist/mops.js:224:25)
at async Command.<anonymous> (file:///home/porton/.nvm/versions/node/v21.5.0/lib/node_modules/ic-mops/dist/cli.js:83:22) {
cause: ConnectTimeoutError: Connect Timeout Error
at onConnectTimeout (node:internal/deps/undici/undici:6869:28)
at node:internal/deps/undici/undici:6825:50
at Immediate._onImmediate (node:internal/deps/undici/undici:6857:13)
at process.processImmediate (node:internal/timers:476:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
}
Node.js v18.19.1
MOPS stopped to work: