Internal Server Error (500)
TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be one of type string, TypedArray, or DataView. Received type undefined
at new Hmac (internal/crypto/hash.js:89:11)
at Object.createHmac (crypto.js:125:10)
at sign (/opt/bitnami/app/lightsail-vapid-test/node_modules/keygrip/index.js:22:8)
at Keygrip.sign (/opt/bitnami/app/lightsail-vapid-test/node_modules/keygrip/index.js:29:38)
at Cookies.set (/opt/bitnami/app/lightsail-vapid-test/node_modules/cookies/index.js:109:30)
at ContextSession.save (/opt/bitnami/app/lightsail-vapid-test/node_modules/koa-session/lib/context.js:321:22)
at ContextSession.commit (/opt/bitnami/app/lightsail-vapid-test/node_modules/koa-session/lib/context.js:231:16)
at session (/opt/bitnami/app/lightsail-vapid-test/node_modules/koa-session/index.js:46:20)
Hosted on AWS lightsail using the bitnami nodejs blueprint.
The front-end works fine, but going to the dashboard produces the error above. This feels like a missing dependency or something, but I’m having trouble narrowing it down.