Typescript Build Error with Next.js

Hi @jonoc330

Looking at the repository, the footer and header component filenames have an uppercase first letter i.e.

import Footer from "@components/Footer"
import Header from "@components/Header"

Also in components/Footer.tsx is the line

import styles from "./footer.module.css"

but the file is Footer.module.css so the import should read

import styles from "./Footer.module.css"

For reference, build is case-sensitive: [Support Guide] Netlify app builds locally but fails on deploy (case sensitivity)

3 Likes