Is this a possible bug in a feature of sharp, unrelated to installation?
[x] Running npm install sharp completes without error.
[ ] Running node -e "require('sharp')" completes without error. (I don't know how to execute it in firebase cloud functions env)
If you cannot confirm both of these, please open an installation issue instead.
Are you using the latest version of sharp?
[x] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.
If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
What are the steps to reproduce?
I just try to call .tile() and it fails, the same cloud function works fine in the emulators (I have libvips installed globally on my computer), but is failing with the deployed cloud function.
Other functions like .toFormat are working fine in the deployed cloud functions and were successfully uploaded to the bucket.
What is the expected behaviour?
Generate the zip file.
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
` generateDZI = (req: functions.https.Request, resp: functions.Response) => {
const form = new formidable.IncomingForm();
Possible bug
Is this a possible bug in a feature of sharp, unrelated to installation?
npm install sharp
completes without error.node -e "require('sharp')"
completes without error. (I don't know how to execute it in firebase cloud functions env)If you cannot confirm both of these, please open an installation issue instead.
Are you using the latest version of sharp?
sharp
as reported bynpm view sharp dist-tags.latest
.If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of
sharp
that is not the latest, please open an issue against that package instead.What are the steps to reproduce?
I just try to call
.tile()
and it fails, the same cloud function works fine in the emulators (I have libvips installed globally on my computer), but is failing with the deployed cloud function.Other functions like
.toFormat
are working fine in the deployed cloud functions and were successfully uploaded to the bucket.What is the expected behaviour?
Generate the zip file.
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
` generateDZI = (req: functions.https.Request, resp: functions.Response) => {
const form = new formidable.IncomingForm();
}`
Please provide sample image(s) that help explain this problem