Open DougAnderson444 opened 3 years ago
This error is no longer triggered as of ipfs-core@0.10.3
.
--
It still fails to import, unfortunately. Just not due to any appended warning message. It now fails to import a file from within a rather simple NPM module that by itself imports just fine.
Just in case, this is a Repl.it reproduction: https://replit.com/@Scio/GlisteningFlippantCodegeneration
It fails to import with: error: Relative import path ".." not prefixed with / or ./ or ../ from "https://cdn.skypack.dev/-/it-pair@v1.0.0-zUdMATw45Oa0C4eIumJj/dist=es2020,mode=imports/unoptimized/duplex.js"
I'm still trying to figure out why this file fails to be imported, and will open another issue.
What I am trying to do
import { default as IPFS } from "https://cdn.skypack.dev/ipfs-core";
Easily reproduce the error:
https://replit.com/@DougAnderson444/Bcrypto-error
scroll to the bottom here: https://cdn.skypack.dev/-/bcrypto@v5.4.0-nZcwfIyNDDjI6m158fpT/dist=es2020,mode=imports/unoptimized/lib/js/precomputed/ed25519.json
What's happening?
This warning is added to the bottom of the build, throwing off the whole process:
Steps to Fix
Remove the warning log?