DEV Community

Discussion on: Uploading Files to IPFS from a Web Application

Collapse
 
prem11k profile image
prem11k • Edited

Hi @dabit3 I am facing issue when running the code. I followed your YouTube tutorial and tried this snippet as well, but seeing below error for both Infura and pinata.
Please help.

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

Collapse
 
prem11k profile image
prem11k

No worries. I figured it out. It was due to deprecated debug package. I've updated the package in package.json and run npm install --save, it started working.