-
Notifications
You must be signed in to change notification settings - Fork 29.9k
Closed
Labels
good first issueEasy to fix issues, good for newcomersEasy to fix issues, good for newcomers
Description
Bug report
Describe the bug
I just cloned the example project with-firebase-authentication and followed the instructions within the README.md to setup. After running the command npm run dev and went to my browser on localhost:3000, I received an error within my terminal.
Error: Error serializing `.user` returned from `getServerSideProps` in "/".
Reason: `undefined` cannot be serialized as JSON. Please use `null` or omit this value all together.
To Reproduce
- Go to https://github.com/zeit/next.js/tree/canary/examples/with-firebase-authentication
- Followed the setup guide exactly.
- Go to
localhost:3000to see the webpage - See error within page and terminal
Expected behavior
Expected to see the the login button within the page.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
- OS:
macOS - Browser:
Chrome - Version of Next.js:
^9.3.3 - Version of Node.js:
v10.16.3
davegomez
Metadata
Metadata
Assignees
Labels
good first issueEasy to fix issues, good for newcomersEasy to fix issues, good for newcomers