Module not found: Can't resolve '../../slices' when uploading project to Vercel

The tutorial you're following should show you how to do that. You don't need to deploy yet, try following until you add some Slices and then deploy.

import { components } from "../../slices"; is searching for a folder that doesn't exist yet.