seeing this error when deploying to production: ``...
# support-questions
t
seeing this error when deploying to production:
Copy code
./node_modules/nodemailer/lib/mailer/index.js
Module not found: Can't resolve 'dns' in '/root/frontend/node_modules/nodemailer/lib/mailer'

Import trace for requested module:
./node_modules/nodemailer/lib/mailer/index.js
./node_modules/nodemailer/lib/nodemailer.js
./node_modules/supertokens-node/lib/build/recipe/passwordless/emaildelivery/services/smtp/index.js
./node_modules/supertokens-node/lib/build/recipe/passwordless/emaildelivery/services/index.js
./node_modules/supertokens-node/recipe/passwordless/emaildelivery/index.js
./config/backend-config.ts
./core/utils.ts
./config/appinfo.ts
./config/frontend-config.ts
I’m using the live api and website domain in the config
n
@kakashi_44 might be able to help here
k
hey @tonyb , when is this error coming for you? Is it coming while trying to run the server?