Closed LCD344 closed 1 year ago
Does using the ava --no-worker-threads
flag help? (see #3164)
Node: 17.0.1
Node.js 17 reached EOL earlier this year and I recommend you upgrade.
@lovell - amazing! it works, I also updated node for good measure :)
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.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 is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?What are the steps to reproduce?
I am using an express app where sharp handles photo uploads, the app itself works, but when I run it through a test (using Avajs - https://github.com/avajs/ava) it gives me the following error code
While still running the test itself, but then I can't run more than one test at time.
Downgrading sharp to version 0.29.3 resolves the issue btw.
What is the expected behaviour?
The same, but not crashing the test when it works
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
This is my controller
the following is the test code
If there is any idea what might be causing this, I would love to be using the latest version of sharp :)