Unhandled Runtime Error

Hi everyone, I am getting this error on the following statement

import {create as ipfsHttpClient} from ‘ipfs-http-client’

and error is " Unhandled Runtime Error. TypeError: debug__default.default is not a function"

other than this all code is working fine. Please help me to fix this so that i can move on to next task.


1 Like

Hello, what is your Node and ipfs-http-client version ? Please note that since this doesn’t look to be Infura related, you might get a better help here GitHub - ipfs/js-ipfs: IPFS implementation in JavaScript


My node version is 14.18.0 and ipfs-http-client version is ipfs-http-client 53.0.1