I initially thought that this error was due to the auth0 package i'm using however they think it's because of nuxt.
I want to make a class wrapper (with ES6) for the Auth0 SDK I use within my app, like the following:
However I'm getting the error:
I can make an instance of WebAuth fine, it's just when I define it within the 'this' namespace of my class that this fails.
The Auth0 team think it's how Nuxt serialises JSON.
Any ideas/suggestions?
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c427">#c427</a>)</em></sub></div>