https://supertokens.com/ logo
Title
t

tonyb

12/20/2022, 5:52 PM
seeing this error when deploying to production:
./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

nkshah2

12/21/2022, 5:04 AM
@kakashi_44 might be able to help here
k

kakashi_44

12/21/2022, 7:02 AM
hey @tonyb , when is this error coming for you? Is it coming while trying to run the server?