Comments (5)
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.
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.
@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.
@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.
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)
- Support `kernel` option in resize
- allow domain validation with subpaths
- Automatic image format conversion HOT 1
- Handle fetch errors HOT 1
- Support source format and use suffix as final format
- IPX ignores `s-maxage` when `max-age` is present in the HTTP source `cache-control` header HOT 4
- IPX v2 roadmap HOT 1
- Not able to create pkg with ipx HOT 2
- Don't overwrite existing Vary header HOT 1
- ipx v2 returns `204 No Content` instead of `304 Not Modified` HOT 2
- The global maxAge option has no effect in ipx v2. HOT 1
- Background removal / custom handlers HOT 4
- add rounded edges modifier HOT 1
- Incorrect resize result for an image HOT 1
- Improve Handlers type exports
- Query parameter falsifies the image id HOT 2
- Ability to provide options to Sharp operations
- Add back docker image HOT 1
- Bundle Sharp Wasm by default HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipx.