I'm trying to use the ipfs package in my angular app, but it doesn't compile. I first had issues with installing ipfs with npm install ipfs
because it couldn't find certain packages. It did install by installing these packages first: npm install node-pre-gyp wrtc ipfs
After which I can import it and use it in the code with import * as IPFS from 'ipfs'
The problem is that angular doesn't want to compile:
These are just a fraction of the errors that it gives. I already tried
"compilerOptions": { //.... "esModuleInterop": true, "allowSyntheticDefaultImports": true },
But no success.