Closed hubertle43100 closed 7 months ago
There is this error with the commit that was just made trying to upload the code to Vercel:
Vercel
Failed to compile. -- 15:47:41.919 | 15:47:41.919 | ./app/[category]/page.tsx:6:22 15:47:41.919 | Type error: Cannot find module '@/minimal-ecommerce/schemas/category' or its corresponding type declarations. 15:47:41.919 | 15:47:41.919 | 4 \| import Image from "next/image"; 15:47:41.919 | 5 \| import ProductList from "./ProductList"; 15:47:41.919 | > 6 \| import category from "@/minimal-ecommerce/schemas/category"; 15:47:41.919 | \| ^ 15:47:41.920 | 7 \| import Hero from "../components/Hero"; 15:47:41.920 | 8 \| import AboutUs from "./AboutUs"; 15:47:41.920 | 9 \| 15:47:42.014 | Error: Command "npm run build" exited with 1
There is this error with the commit that was just made trying to upload the code to
Vercel
: