when i added a email processor to my project with the npm mysql package it throws a error when building.
Start building sites …
hugo v0.108.0-a0d64a46e36dd2f503bfd5ba1a5807b900df231d+extended windows/amd64 BuildDate=2022-12-06T13:37:56Z VendorInfo=gohugoio
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "crypto"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "events"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "net"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "tls"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "util"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "url"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "events"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "util"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "util"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "events"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "util"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "events"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "crypto"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "stream"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "util"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "timers"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "util"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "util"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "util"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "fs"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "util"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "util"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "util"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "events"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "util"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "events"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "events"
ERROR 2022/12/13 13:45:40 js.Build failed: Could not resolve "buffer"
Error: Error building site: JSBUILD: failed to transform "js/email.js" (text/javascript): Could not resolve "buffer"
Total in 2392 ms```
when i added a email processor to my project with the npm mysql package it throws a error when building.