Open olizilla opened 3 years ago
yeah, this is hopefully fixed by:
This is currently blocked on figuring out a solution for CI tests with Electron on an ESM project (Electron does not support ESM).
We can compile ESM tests to CJS and use them for tests in Electron, which would be great but does not work with a monorepo, where one package depends on the other. Given we ship the content of dist (generated by ipjs
with exports for cjs/esm), but in the monorepo tests, we will not import the dist content.
Let's check up on this (see if any movement) and make a call if we should just close this given that we have a solution for users and Skypack is no longer in active development. cc @alanshaw
It's currently failing with:
Uncaught TypeError: null has no properties
<anonymous> https://cdn.skypack.dev/-/hamt-sharding@v2.0.1-2WfbeukgfNYgnLr54HmK/dist=es2019,mode=imports/optimized/hamt-sharding.js:4
There's some changes I made to hamt-sharding that need to be released. I would like to at least wait for that to happen before we close this.
Update on current known errors
From previous experience, once one issue is addressed, next pops in, so there is no clear indication on how many will exist
Did you solve this? I am also getting 'cannot destructure' error.
Trying to import
web3.storage
from skypack like so:fails with:
see: https://codepen.io/olizilla/pen/wvdmJXK