tonyb
12/20/2022, 5:52 PM./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
tonyb
12/20/2022, 6:09 PMKillian
12/20/2022, 9:50 PMromixch
12/20/2022, 10:08 PMromixch
12/20/2022, 10:09 PMromixch
12/20/2022, 10:10 PMromixch
12/20/2022, 10:11 PMronflai
12/20/2022, 10:28 PM{
"errors": [
{
"errorType": "AuthorizerFailureException",
"message": "The adapter was unable to infer a handler to use for the event. This is likely related to how the Lambda function was invoked. (Are you testing locally? Make sure the request payload is valid for a supported handler.)"
}
]
}
Someone have any idea how to fix this ? Thanks.Adiboi
12/21/2022, 3:54 AMcrro
12/21/2022, 4:25 AMnkshah2
12/21/2022, 5:05 AMnkshah2
12/21/2022, 5:07 AMnkshah2
12/21/2022, 5:11 AMtonyb
12/21/2022, 8:19 AMproductdevbook
12/21/2022, 4:43 PMts
environment:
POSTGRESQL_USER: '${POSTGRES_USER}'
POSTGRESQL_PASSWORD: '${POSTGRES_PASSWORD}'
POSTGRESQL_DATABASE_NAME: '${SUPERTOKENS_POSTGRES_DB}'
# POSTGRESQL_TABLE_NAMES_PREFIX: 'supertokens'
POSTGRESQL_HOST: db
POSTGRESQL_PORT: 5432
API_KEYS: '${SUPERTOKENS_API_KEY}'
iam used dockerproductdevbook
12/21/2022, 4:45 PMPOSTGRESQL_TABLE_SCHEMA
thats true ?tonyb
12/21/2022, 4:58 PMporcellus
12/21/2022, 5:54 PMCreepwood
12/21/2022, 6:59 PMRob Schilder
12/21/2022, 8:24 PMsupertokens-web-js
from using supertokens-website
. We are using the type import { CookieHandlerInterface } from 'supertokens-website/utils/cookieHandler/types'
Is this added to supertokens-web-js
too?Rob Schilder
12/21/2022, 8:27 PMtonyb
12/21/2022, 9:22 PMuseSessionContext
after I log out this still shows as active, even though my protected route shows 401
to log out I am calling: await req.session!.revokeSession()
I have a workaround but not sure if that is expectedtonyb
12/21/2022, 9:58 PMnkshah2
12/22/2022, 4:28 AMromixch
12/22/2022, 12:42 PMChunkygoo
12/22/2022, 8:02 PMHHChift
12/22/2022, 8:03 PMchris_st
12/22/2022, 8:08 PMmonsterdonio
12/22/2022, 11:59 PMnkshah2
12/23/2022, 3:45 AM