Git Product home page Git Product logo

Comments (5)

pi0 avatar pi0 commented on June 2, 2024 1

https://github.com/unjs/ipx/releases/tag/v3.0.0

(due to potential breaking changes, it is released as a major version in IPX same as sharp)

from ipx.

Kemystra avatar Kemystra commented on June 2, 2024

Right, I didn't notice that pull request (#190). Sorry for that.

Nevertheless, I think I will keep this issue open so that people that encounter this same problem will understand why.

For those who came here because of the above error: TL;DR, one of ipx dependencies is too old and uses a weird install script. There is a pull request addressing this problem, though. For now, you can use the npm:ipx-nightly@latest version to avoid this problem.

from ipx.

MickL avatar MickL commented on June 2, 2024

@Kemystra Has the PR been released to npm? I am on latest ipx 2.0.2 and the sharp dependency is ^0.32.6.

I come here because using Bun sharp is not getting installed. This has been fixed with 0.33.0 of sharp, latest version is 0.33.1: lovell/sharp#3511

The problem is cascading a bit because @nuxt/image is using ipx ^2.0.2 which is using sharp ^0.32.6

from ipx.

Kemystra avatar Kemystra commented on June 2, 2024

@MickL as of just now, no the PR (#190) is still in draft state (and npm installation is still failing). Also seems like Bun installed ipx@latest and [email protected] just fine, so that's nice. Bun really does handle the script properly.

And yeah, this problem is cascading. I came here in the first place from netlify/cli cuz I can't install that too.

from ipx.

MickL avatar MickL commented on June 2, 2024

Yes it works fine in Bun with latest sharp 0.33.1. When using @nuxt/image just run bun add sharp which will add 0.33.1 and everything works.

Problem is that sharp is still in 0.x which means ^0.x will not grab any minor update, I think even ^0.33.0 will not grab 0.33.1

Hope sharp version will be updated soon in unjs/ipx. Can we just set the version in package.json to ^0.33.1 @pi0 ?

from ipx.

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.