Deploy error: Could not load upload provider "aws-s3" (provider-upload-aws-s3)

Hey Everyone,

So I followed the steps here Upload media to digitalocean spaces using strapi v4 - #39 by Shaun_Brown from @Shaun_Brown’s post to setup provider-upload-aws-s3 and everything seems to be working on my local machine/environment, I’m able to upload and delete images locally but when I try deploying to DigitalOcean, I keep getting "Could not load upload provider ‘aws-s3’ ". Has anyone ever run into this issue while trying to deploy their application with a new provider? Here’s the stacktrace:

[2023-11-16 13:42:30] [2023-11-16 13:42:30.862] debug: ⛔️ Server wasn't able to start properly.
[2023-11-16 13:42:30] [2023-11-16 13:42:30.864] error: Could not load upload provider "aws-s3".
[2023-11-16 13:42:30] Error: Cannot find module 'aws-s3'
[2023-11-16 13:42:30] Require stack:
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/plugin-upload/server/register.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/plugin-upload/server/index.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/plugin-upload/strapi-server.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/utils/dist/import-default.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/utils/dist/index.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/data-transfer/dist/utils/components.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/data-transfer/dist/strapi/queries/entity.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/data-transfer/dist/strapi/queries/index.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/data-transfer/dist/strapi/providers/local-destination/strategies/restore/index.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/data-transfer/dist/strapi/providers/local-destination/strategies/index.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/data-transfer/dist/strapi/providers/local-destination/index.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/data-transfer/dist/strapi/providers/index.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/data-transfer/dist/strapi/index.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/data-transfer/dist/index.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/strapi/dist/commands/index.js
[2023-11-16 13:42:30] - /workspace/node_modules/@strapi/strapi/bin/strapi.js
[2023-11-16 13:42:30]     at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
[2023-11-16 13:42:30]     at Module._load (node:internal/modules/cjs/loader:901:27)
[2023-11-16 13:42:30]     at Module.require (node:internal/modules/cjs/loader:1115:19)
[2023-11-16 13:42:30]     at require (node:internal/modules/helpers:130:18)
[2023-11-16 13:42:30]     at createProvider (/workspace/node_modules/@strapi/plugin-upload/server/register.js:53:16)
[2023-11-16 13:42:30]     at module.exports [as register] (/workspace/node_modules/@strapi/plugin-upload/server/register.js:16:38)
[2023-11-16 13:42:30]     at Object.register (/workspace/node_modules/@strapi/strapi/dist/core/domain/module/index.js:49:52)
[2023-11-16 13:42:30]     at Object.register (/workspace/node_modules/@strapi/strapi/dist/core/registries/modules.js:29:27)
[2023-11-16 13:42:30]     at async Strapi.runLifecyclesFunctions (/workspace/node_modules/@strapi/strapi/dist/Strapi.js:509:9)
[2023-11-16 13:42:30]     at async Strapi.register (/workspace/node_modules/@strapi/strapi/dist/Strapi.js:428:9)
[2023-11-16 13:42:30] npm notice 
[2023-11-16 13:42:30] npm notice New minor version of npm available! 10.1.0 -> 10.2.4
[2023-11-16 13:42:30] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.4>
[2023-11-16 13:42:30] npm notice Run `npm install -g npm@10.2.4` to update!
[2023-11-16 13:42:30] npm notice