1

I'm trying to import the ipfs like

"import {create} from 'ipfs'"

but is not working it gives me error like

enter image description here

upon using the package "ipfs-http-client"

import { create } from 'ipfs-http-client'

enter image description here

what is the solution for this?

I'm using svelte v3.0 with roll up plugin v7.0.

0 Answers0