Hello
I followed along the YouTube video: Connect to a Database with Web3 Authentication | MongoDB, NextJS and Moralis https://www.youtube.com/watch?v=rMijvDtNYlQ
I then downloaded full repo and installed per instructions and made the necessary mongoDB - updated .env.local with everything and ofcause installed but Iโm getting this error:
Unhandled Runtime Error
TypeError: Cannot read properties of null (reading โauthโ)
Call Stack
formatUrl
node_modules\next\dist\shared\lib\router\utils\format-url.js (12:10)
Object.formatWithValidation
node_modules\next\dist\shared\lib\router\utils\format-url.js (69:11)
resolveHref
node_modules\next\dist\shared\lib\router\router.js (108:72)
prepareUrlAs
node_modules\next\dist\shared\lib\router\router.js (165:37)
Router.push
node_modules\next\dist\shared\lib\router\router.js (384:25)
instance.
node_modules\next\dist\client\router.js (143:19)
_callee$
webpack-internal:///./pages/signin.jsx (84:13)
tryCatch
node_modules\next\dist\compiled\regenerator-runtime\runtime.js (45:15)
Generator.invoke [as _invoke]
node_modules\next\dist\compiled\regenerator-runtime\runtime.js (274:0)
prototype. [as next]
node_modules\next\dist\compiled\regenerator-runtime\runtime.js (97:0)
asyncGeneratorStep
node_modules@swc\helpers\src_async_to_generator.mjs (3:0)
_next
node_modules@swc\helpers\src_async_to_generator.mjs (25:0)
<<<<<<< I tried the documentation link but it returns a 404
Can anyone help? <3