Comments (5)
The integrity check logic was removed in v0.33.0 as part of #3750 so the "Integrity check failed" message will never be generated by v0.33.1. Please check any lockfiles or cached node_modules
for previous versions.
from sharp.
Reverting to [email protected]
seems to not have this issue; any ways I can help test what the issue might be? Should I raise with Cloudflare?
from sharp.
These logs looks like they are from v0.32.x. Support for Bun was added in v0.33.0 - please upgrade.
from sharp.
These logs looks like they are from v0.32.x. Support for Bun was added in v0.33.0 - please upgrade.
So an issue with Cloudflare then? The package was [email protected]
, which is why I reported the issue. It works when setting to [email protected]
- if I upgrade again, same issue.
Edit: Seems to occur regardless of build cache being enabled or disabled.
from sharp.
OK, possible PEBKAC? The fix was to delete my existing bun.lockb
and recreate it with bun install
. Cloudflare Pages does bun install --frozen-lockfile
by default, and I noticed when trying to test with npm
, it would run that bun command first..and it worked! Pages uses Bun 1.0.1
by default, which reminded me of the release notes about changes to --frozen-lockfile
in Bun 1.0.19
.
At the same time I upgraded sharp from 0.32.6
to 0.33.1
I also went from Bun 1.0.18
→ 1.0.21
in Pages (can set version with BUN_VERSION
), but everything was working on my local computer, so didn't put the pieces together immediately.
I suppose a few things:
- Pages should probably not run any install steps without the user defining them.
- Bun
1.0.21
would not fail when runningbun install --frozen-lockfile
on macOS ARM64when there was no change to the lockfile; it seems to only fail on Linux x64 (the only other platform I can test, and the platform for Pages). - Bun versions prior to
1.0.19
would update thebun.lockb
file when runningbun install
, after upgrading packages.
Will see if I have enough info to file an issue with Bun.
Thanks for the help!
from sharp.
Related Issues (20)
- Improve error messaging when attempting to rotate multi-page image HOT 2
- Sharp Error 'Input Buffer is empty' after dockerize Nestjs App HOT 2
- Write custom tags into EXIF data HOT 1
- Windows: support info.size on wide-character systems (a.k.a. the C++17 upgrade) HOT 2
- RangeError: Maximum call stack size exceeded. HOT 7
- Using a custom libvips when upgrading to 0.33.x requires node-addon-api HOT 4
- Missing executable at MAS build with electron-builder HOT 13
- rotate() and extract() do not rotate certain pictures properly (bad extract area) HOT 11
- package 'vips' requires 'libhwy >= 1.0.5' but version of libhwy is 1.0.4 HOT 4
- latest 0.33.2 causes Next.js build error on Vercel build (RangeError: Maximum call stack size exceeded when collecting build traces) HOT 2
- Deployment error in render HOT 3
- become slow (x8) when deployed on el cheapo hosting company server HOT 6
- 0.33.2 breaks nextjs Vercel builds HOT 1
- Could not load the "sharp" module using the win32-x64 runtime || HOT 2
- Upgrading sharp from `0.33.1` to `0.33.2` breaks Next.js build on Vercel HOT 2
- facing issue while installing sharp package HOT 1
- facing issue while installing sharp package HOT 2
- "Maximum call stack" error in Vercel when upgrading from 0.33.1 to 0.33.2 while using Next.js HOT 2
- Emojis not rendering with sharp, but they do with `vips text` or `pango-view` HOT 7
- Error: Could not load the "sharp" module using the darwin-arm64 runtime HOT 3
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.