Comments (5)
I added this in package.json:
"trustedDependencies": ["sharp"],
And optionally this:
"resolutions": {
"minipass": "2.7.0"
},
And I tried:
rm -rf node_modules
rm -rf bun.lockb
bun install --no-cache --verbose --platform=darwin --arch=x64
But I get the same result 😫
from sharp.
Support for Bun was added in sharp v0.33.0.
I can't use the last version because... Homebrew won't install Vips version ^8.15
You don't need a globally-installed libvips - use brew uninstall vips
then upgrade sharp.
from sharp.
Support for Bun was added in sharp v0.33.0.
Thanks a lot for the quick answer! :)
You don't need a globally-installed libvips - use
brew uninstall vips
then upgrade sharp.
I think I need libvips to convert .heic files? So far I get this:
Read error: source: bad seek to 3024940
heif: Unsupported feature: Unsupported codec (4.3000)
^
TypeError: undefined is not an object (evaluating 'error.stack')
at /Users/UN/work/PN/src/server.ts:186:145
at processTicksAndRejections (:61:77)
from sharp.
The prebuilt binaries provided by sharp do not support HEVC/HEIC images.
MacPorts provides vips 8.15.1 https://ports.macports.org/port/vips/
from sharp.
Published 6h ago, great timing!
The installation went fine, but unfortunately, I can't test it ATM because I broke something with Bun, when I run bun install
I get error: failed to initialize compression stream downloading package manifest
for all the project packages (it worked fine before I started to play with HomeBrew / MacPorts / Vips build.
I close this issue for now, I will reopen if needed, thank you! :)
from sharp.
Related Issues (20)
- Usage of minSize in webp HOT 2
- Enhancement: add support for jpegli as jpeg encoder HOT 3
- Animated gif resizing discards per-frame background and transparency data HOT 1
- Can I use latest version sharp in Nodejs version 14.19.3 ? HOT 1
- Completely broken in latest version of debian HOT 1
- removing animation while uploading to s3 using sharp HOT 5
- Are there technical and/or licensing issues that require libvips to be shipped as separate library? HOT 2
- Is there another operation than composite to apply a highlighted rectangle to an image? HOT 2
- EPERM problem
- sharp is not compatible with the Node :- 17.9.1 NPM :- 8.11.0 HOT 2
- When you use sharp to convert svg to png, something is missing! HOT 2
- Using `clone` and `joinChannel` together apply channel operation to all output HOT 2
- Override HEIC output limitation HOT 1
- Support outputting higher bit-depth AVIF HOT 1
- Which is better between Sharp.metadata() vs fs.stat() to get image size HOT 1
- Keep only specified EXIF, IPTC, and XMP metadata tag values (similar to `withExifMerge`) HOT 3
- default `limitInputPixels` is not set correctly for jpeg input, avif output, yields `Error: Input image exceeds pixel limit` HOT 2
- sharp: Installation error: Prebuilt libvips 8.14.3 binaries are not yet available for win32-x64 HOT 2
- Using `npm install --cpu=x64 --os=win32` on `arm64/darwin` doesn't install the intended native module. HOT 3
- Google cloud storage integration 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 sharp.