nkshah2
01/19/2022, 7:14 AMpogseal
01/19/2022, 7:17 AMpogseal
01/19/2022, 7:19 AMnkshah2
01/19/2022, 7:21 AMThirdPartyEmailPasswordAuth
?pogseal
01/19/2022, 7:22 AMnkshah2
01/19/2022, 7:23 AMpogseal
01/19/2022, 7:23 AMnkshah2
01/19/2022, 7:24 AMnkshah2
01/19/2022, 7:52 AMnkshah2
01/19/2022, 7:58 AMpogseal
01/19/2022, 8:00 AMnkshah2
01/19/2022, 8:03 AMrequireAuth
prop to allow access to the page without requiring a sessionpogseal
01/19/2022, 8:08 AMpogseal
01/19/2022, 8:33 AMServer Error
TypeError: Cannot read property 'wrapperUsed' of undefined
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Source
pages/_app.tsx (88:20) @ Function.MyApp.getInitialProps
86 | try {
87 | // getSession will do session verification for us
> 88 | session = await Session.getSession(context.req, context.res);
| ^
89 | } catch (err) {
90 | if (err.type === Session.Error.TRY_REFRESH_TOKEN) {
91 | // in this case, the session is still valid, only the access token has expired.
pogseal
01/19/2022, 8:33 AMnkshah2
01/19/2022, 9:11 AMnkshah2
01/19/2022, 9:18 AMagnieszka.olszewska
01/19/2022, 1:46 PMsupertokens-auth-react
lib to 0.18 version and I keep getting node error in my terminal: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
. It works correctly with version 0.14.x. Any higher version produces the above error. I use node v14.16.1
. Did anyone have a similar issue?rp
01/19/2022, 1:54 PMrp
01/19/2022, 1:54 PMagnieszka.olszewska
01/19/2022, 1:55 PMrp
01/19/2022, 2:07 PMM̸̹̣i̼̗č̹̰o̧̲ͅ
01/19/2022, 7:52 PMM̸̹̣i̼̗č̹̰o̧̲ͅ
01/19/2022, 8:08 PMagnieszka.olszewska
01/19/2022, 8:12 PMemailpassword
receip, for example import { EmailPasswordAuth } from 'supertokens-auth-react/recipe/emailpassword'
. When I only use session
receip, everything works well.rp
01/20/2022, 3:13 AMrp
01/20/2022, 3:17 AMM̸̹̣i̼̗č̹̰o̧̲ͅ
01/20/2022, 8:14 AMrp
01/20/2022, 8:18 AMagnieszka.olszewska
01/20/2022, 12:52 PMimport { EmailPasswordAuth } from 'supertokens-auth-react/recipe/emailpassword'
, it increases up to 2GB...