v5.8.1 and 5.9.0 Error: Cannot find module 'aws-s3'
### Node Version

20.18.1

### NPM/Yarn/PNPM Version

10.8.2

### Strapi Version

5.9.0

### Operating System

Docker/Podman/LXC

### Database

PostgreSQL

### Javascript or Typescript

Typescript

### Reproduction URL

_No response_

### Bug Description

Same issue for strapi v5.8.1 and 5.9.0 as in this previously tracked issue for strapi v4.15.4 https://github.com/strapi/strapi/issues/18778

When installing @strapi/provider-upload-aws-s3 we run into the error `Error: Cannot find module 'aws-s3'`

Using these docs (for which the page is also broken): https://strapi.io/blog/how-to-set-up-amazon-s3-upload-provider-plugin-for-our-strapi-app

Note: I have used strapi v3 and v4 before with the s3 bucket provider working, I am assuming there is either not yet support for the s3 provider in v5 or this is a bug worth reporting for all.

### Steps to Reproduce

Steps to reproduce:
1. Install @strapi/strapi@5.9.0
2. Install @strapi/provider-upload-aws-s3@5.9.0
3. See error when running app using `strapi develop`

### Expected Behavior

Expect app startup and bucket integration working to upload media and see in the s3 bucket.

### Logs

```shell
strapi-app       | 
strapi-app       | > beaconcms@0.1.0 develop
strapi-app       | > strapi develop
strapi-app       | 
strapi-app       | - Loading Strapi
strapi-app       | - Building build context
strapi-app       | 
strapi-app       | [INFO] Including the following ENV variables as part of the JS bundle:
strapi-app       |     - ADMIN_PATH
strapi-app       |     - STRAPI_ADMIN_BACKEND_URL
strapi-app       |     - STRAPI_TELEMETRY_DISABLED
strapi-app       | ✔ Building build context (318ms)
strapi-app       | - Creating admin
strapi-app       | ✔ Creating admin (1288ms)
strapi-app       | [ERROR]  There seems to be an unexpected error, try again with --debug for more information 
strapi-app       | 
strapi-app       | ┌──────────────────────────────────────────────────────────────────────────────┐│                                                                              ││   Error: Cannot find module 'aws-s3'                                         ││   Require stack:                                                             ││   - /opt/strapi-app/node_modules/@strapi/upload/dist/_chunks/index-BDq2waD   ││   f.js                                                                       ││   - /opt/strapi-app/node_modules/@strapi/upload/dist/server/index.js         ││   - /opt/strapi-app/node_modules/@strapi/utils/dist/index.js                 ││   - /opt/strapi-app/node_modules/@strapi/cloud-cli/dist/index.js             ││   - /opt/strapi-app/node_modules/@strapi/strapi/dist/cli/commands/index.js   ││   - /opt/strapi-app/node_modules/@strapi/strapi/dist/cli/index.js            ││   - /opt/strapi-app/node_modules/@strapi/strapi/bin/strapi.js                ││   at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)      ││   at Module._load (node:internal/modules/cjs/loader:1051:27)                 ││   at Module.require (node:internal/modules/cjs/loader:1311:19)               ││   at require (node:internal/modules/helpers:179:18)                          ││   at createProvider (/opt/strapi-app/node_modules/@strapi/upload/server/sr   ││   c/register.ts:60:16)                                                       ││   at Object.register (/opt/strapi-app/node_modules/@strapi/upload/server/s   ││   rc/register.ts:17:38)                                                      ││   at Object.register (/opt/strapi-app/node_modules/@strapi/core/dist/domai   ││   n/module/index.js:45:46)                                                   ││   at Object.register (/opt/strapi-app/node_modules/@strapi/core/dist/regis   ││   tries/modules.js:28:19)                                                    ││   at async Strapi.runPluginsLifecycles                                       ││   (/opt/strapi-app/node_modules/@strapi/core/dist/Strapi.js:407:5)           ││   at async Strapi.register                                                   ││   (/opt/strapi-app/node_modules/@strapi/core/dist/Strapi.js:324:5)           ││                                                                              │└──────────────────────────────────────────────────────────────────────────────┘
```

### Code Snippets

```
// config/plugins.ts
export default ({ env }) => ({
    upload: {
        config: {
            provider: 'aws-s3',
            providerOptions: {
                credentials: {
                    accessKeyId: env("AWS_ACCESS_KEY_ID"),
                    secretAccessKey: env("AWS_ACCESS_SECRET"),
                },
                region: env("AWS_REGION"),
                baseUrl: `https://s3.${env("AWS_REGION")}.amazonaws.com/${env("AWS_BUCKET")}`, // This line sets the custom url format
                params: {
                    ACL: env("AWS_ACL") || 'public-read',
                    signedUrlExpires: env("AWS_SIGNED_URL_EXPIRES") || 15 * 60,
                    Bucket: env("AWS_BUCKET"),
                },
            },
            actionOptions: {
                upload: {},
                uploadStream: {},
                delete: {},
            },
        },
    },
});
```

I also added the `config/middleware.ts` code with the bucket name.

### Media

_No response_

### Additional information

_No response_

### Confirmation Checklist

- [x] I have checked the existing [issues](https://github.com/strapi/strapi/issues) for duplicates.
- [x] I agree to follow this project's [Code of Conduct](https://github.com/strapi/strapi/blob/develop/CODE_OF_CONDUCT.md).