Module Not Found
Used in this guide:Next.js 15.3.4
Vercel
Loading...
ERROR: Module not found
When Vercel gives a "Module not found" error during the build process, it means that the build environment (Vercel's server) cannot locate the file that your code is trying to import.
When this type of errors happens, the path of the missing module is always provided, go to the file location in your project and ensure that:
If you are using path aliases in your tsconfig.json (like the @/ in your provided code example), ensure they are correctly configured and pointing to the right directory.