Code Monkey home page Code Monkey logo

Comments (5)

vasco-santos avatar vasco-santos commented on May 28, 2024

So, I can see that skypack gets a bunch of uint8arrays and somehow one of our dependencies use the 2.1.3

image

this is related to skypackjs/skypack-cdn#159

from ipfs-car.

vasco-santos avatar vasco-santos commented on May 28, 2024

@olizilla I could discover that is multicodec that apparently is pulling the old uint8arrays, even though I have no clue of the reason behind this... It is pulled from unixfs-importer

Please check https://codepen.io/vascosantos/pen/mdWZmWq?editors=0011

image

As we can see, it only gets 2.1.3...

from ipfs-car.

vasco-santos avatar vasco-santos commented on May 28, 2024

The multicodec PR fixed the problem mentioned on the Original Post, but now we have another issue...

Uncaught TypeError: Cannot destructure property 'sha256' of 'require$$1' as it is null.
    at ipfs-unixfs-importer.js:18

This is in the unixfs-importer now: https://codepen.io/vascosantos/pen/LYWwgPP?editors=0011

from ipfs-car.

vasco-santos avatar vasco-santos commented on May 28, 2024

Some research happened on: https://github.com/vasco-santos/cjs-esm-skypack-build-rep

And root issue updated: skypackjs/skypack-cdn#171

To unblock this, we will need to either bundle ipfs-unixfs on publish, or make it an ESM citizen

from ipfs-car.

atopal avatar atopal commented on May 28, 2024

related: web3-storage/web3.storage#220

from ipfs-car.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.