Closed evert-arias closed 1 month ago
As a workaround, I added the package to the serverComponentsExternalPackages array in the experimental object of next.config.mjs:
experimental: {
serverComponentsExternalPackages: ["@aws-sdk/s3-request-presigner"],
},
thanks, I'll add that in an see if I can get this deployed. I won't lie, I haven't even tried deploying this code yet. Going to do that now
@webdevcody By the way, this template is great. It has my preferred stack and is well-structured. Thanks for putting this all together!
@evert-arias thanks man, tried my best to make it feel as polished as time would allow. reach out if you have any suggestions. I did your suggestion to the next.config which fixed the issue. I may close this for now since we have a quick "hack" solution.
While building for production I encountered the following error with @aws-sdk/s3-request-presigner: