mirror of
https://github.com/strapi/strapi.git
synced 2025-08-08 16:59:21 +00:00

Updated README docs & package.json `engine` versions to bump up the minimum required Node version from `10.10` to `10.16` (or `10.16.0+`) Strapi no longer supports `10.10` since it updated `sharp` to `0.26.0` ( https://github.com/strapi/strapi/pull/7729 ) which requires Node 10.16.0+ (See https://github.com/lovell/sharp/blob/master/docs/changelog.md#v0260---25th-august-2020 ) ` yarn create strapi-app my-project --quickstart` on 10.10 fails with error ``` error sharp@0.26.0: The engine "node" is incompatible with this module. Expected version ">=10.16.0". Got "10.10.0" error Found incompatible module. ``` Signed-off-by: Peter Etelej <peter@etelej.com>
strapi-provider-upload-local
Configurations
This provider has only one parameter: sizeLimit
.
Example
./extensions/upload/config/settings.json
{
"provider": "local",
"providerOptions": {
"sizeLimit": 100000
}
}
The sizeLimit
parameter must be a number. Be aware that the unit is in bytes, and the default is 1000000. When setting this value high, you should make sure to also configure the body parser middleware maxFileSize
so the file can be sent and processed. Read more here