Comments (4)
Work-in-progress for this is at 7146a9c but it will depend on lovell/sharp-libvips@459b35f and newer, not-yet-published versions of the @img/sharp-libvips-*
packages.
from sharp.
I did a quick search for the sort of error message that yarn v1 users might see to assess the impact:
https://github.com/search?q=%22The+engine+glibc+appears+to+be+invalid%22&type=issues
Clearly this is causing some pain for other open source maintainers, so for that reason let's see what we can do.
I think the easiest thing to do is remove the engines
field entirely (we'll need to move the glibc
and macos
keys somewhere else) and update the docs. Leave this with me.
I'm still of the opinion that the sooner someone presses the official end-of-life button on yarn v1, the better. The maintainers of the official Node Docker images are considering removing it - see nodejs/docker-node#1979
from sharp.
Please ensure you've read and understood #3750 for context.
I continue to recommend that those who wish to use yarn as their package manager should upgrade to its latest version. https://mastodon.social/@lovell/111726943907221407
("They all use Yarn 1, and almost all of them also faced this Yarn bug" and "they don't want to use NPM because it has a lot of bugs" is quite the juxtaposition 😅 .)
from sharp.
Thanks for the fast reply 😄 I certainly remember NPM issues like packages magically updating themselves when you install new packages, and it was never really possible to stop it happening. I will say I never questioned why people use yarn since I prefer it anyway. To emphasise, I didn't set up Yarn 1 at these companies, that's what they were using before I joined. I was contracting for quite a few years, I've only seen one company using something other than Yarn 1 since 2015. It's still really popular in industry. I think the reality is Yarn is facing it's Python 3 moment, and I'd be surprised if it wasn't the same situation in a decade 😅
I did find and read that PR via git blame etc. - but I can't really work out why the version is set to 3. It seems like it works with yarn 1 - as long as that flag is provided - and the only issue is that the minimum engine is set higher than it needs to be. At least locally, I only have the binaries that are strictly necessary. What are the actual issues stopping the engine requirement being lower?
from sharp.
Related Issues (20)
- Resize PNG with contain making added part transparent HOT 2
- Failed to install sharp on termux HOT 13
- Unable to Deploy Sharp Library on AWS Lambda and Heroku (Using MacBook M1 for development) HOT 2
- Error: Could not load the "sharp" module using the linux-x64 runtime HOT 4
- Errors processing heif files HOT 9
- Enhancement: add support for output format of SVG HOT 2
- sharp cannot render png in svg exported by PhotoShop HOT 4
- `Could not load the "sharp" module using the linux-x64 runtime` in Amplify environment HOT 10
- ppc64le: A test (Image metadata) fails but only sometimes HOT 3
- Couldn't install sharp in docker image using GitHub actions. HOT 2
- Sharp not releasing memory after use. HOT 2
- if the image is a QR code or contains a QR code, the result is larger than the original image. HOT 2
- `tocolorspace` and `png({quality:x})` are mutually exclusive. HOT 1
- Error sharp with HEIC files - bad seek to 293616\nheif: Unsupported feature: Unsupported codec (4.3000) HOT 3
- Webpack node-loader support + cross-compilation HOT 3
- Handling HEIC files in an Electron application and distributing HOT 2
- Unexpected rotation behavior for different size outputs after upgrading Sharp
- Feature Request: Please support running in a browser (without node.js) HOT 2
- electon,win32,ia32,install ok,but pack and run ,it's error,"The specified procedure could not be found." HOT 1
- how to cache sharp binaries?
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.