Having issue setting SliceMachine with Nextjs

I was watching TrostCodes video on prismic youtube channel, i finally set up my developement, but when i run it, my slice machine doesnt have another page and homepage slice , and the frontend has this error in the image below, how do i fix this


heres the repo : repo

A post was merged into an existing topic: No documents were returned - Dark Modern Website

I merged this with another post on the same issue linked above.