Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'status' of undefined #5

Open
nickcumbo opened this issue Jul 4, 2021 · 0 comments
Open

Cannot read property 'status' of undefined #5

nickcumbo opened this issue Jul 4, 2021 · 0 comments

Comments

@nickcumbo
Copy link

nickcumbo commented Jul 4, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant