Can't resolve slices index. Module not found

I'm following the Prismic tutorial on how to setup next.js and I'm getting an error at the Create Slice Simulator page section. What is the issue?

Hello @izo

Welcome to the Prismic community, and thanks for reaching out to us.

This error is coming because I believe you haven't pushed Custom types and Slices to the Prismic UI. Then, later you have to create your documents. After Setting up Prismic, you also need to model your content.

Let me know if you have any further questions.

Thanks,
Priyanka