fireship-io / next-firebase-course

Next.js + Firebase - The Full Course
next-firebase-course-git-main.fireship.vercel.app
477 stars 218 forks source link

Server Error Error: A required parameter (username) was not provided as a string in getStaticPaths for /[username]/[slug] #26

Closed kumarpandule closed 1 year ago

kumarpandule commented 1 year ago

This error occurred when I imported my firebase database configurations and this shows when I click on any post or when I click on Live view button. Same Code Without changes.

error - Server Error Error: A required parameter (username) was not provided as a string in getStaticPaths for /[username]/[slug]

This error happened while generating the page. Any console logs will be displayed in the terminal window. Screenshot (27)

Vilod commented 1 year ago

How did you solve the issue?