Error: Dynamic require of \"node:buffer\" is not supported

I added amazon SES to my SvelteKit pages application and it deploys perfectly fine, but when visiting the deployment URL it throws a 500 internal error.

The logs return this message: Error: Dynamic require of \"node:buffer\" is not supported

I have the nodejs_compat flag already added
Was this page helpful?