Sharp below v0.33 requires a build environment #22235
Labels
good first issue
Good for newcomers
issue: bug
Issue reporting a bug
severity: medium
If it breaks the basic use of the product but can be worked around
source: core:upload
Source is core/upload package
source: dependencies
Source is dependency problem
status: confirmed
Confirmed by a Strapi Team member or multiple community members
version: 5
Bug report
Required System information
Describe the bug
In the current
strapi
version, the package@strapi/upload
usessharp
. Sharp requires some additional binaries which are either built locally or pulled from github.This causes troubles when strapi is being install in a corporate environment where a private registry and there's no direct access to internet and/or the proxy blocks the download of binaries.
Steps to reproduce the behavior
In a corporate environment just make a
yarn install
Expected behavior
The install should work smoothly without requiring extra pull of binaries from github.
This is fixed using sharp
v0.33.5
Additional context
There's a thread on sharp
The text was updated successfully, but these errors were encountered: