-
Notifications
You must be signed in to change notification settings - Fork 1
Description
As a beginner, I've found this module very helpful in getting started using nuxt with nhost. I followed the instructions from https://docs.nhost.io/libraries/nhost-nuxt
I did however run into an issue that seems to occur after a period of inactivity - maybe when the websocket connection times out? The error message I get from VScode reads:
ERROR Cannot read property 'status' of undefined 08:54:12
at server.js:4337:28
at Auth.authStateChanged (node_modules/nhost-js-sdk/dist/Auth.js:707:13)
at Auth. (node_modules/nhost-js-sdk/dist/Auth.js:722:22)
at step (node_modules/nhost-js-sdk/dist/Auth.js:33:23)
at Object.next (node_modules/nhost-js-sdk/dist/Auth.js:14:53)
at node_modules/nhost-js-sdk/dist/Auth.js:8:71
at new Promise ()
at __awaiter (node_modules/nhost-js-sdk/dist/Auth.js:4:12)
at Auth._clearSession (node_modules/nhost-js-sdk/dist/Auth.js:711:16)
at Auth. (node_modules/nhost-js-sdk/dist/Auth.js:207:30)