I’ve tried everything I can think of including turning off type checking using ignoreBuildErrors: true
, turning off lint with next build --no-lint
and setting "noImplicitAny": false
in tsconfig.json. Everything builds and works locally. When I run npx tsc --noEmit
locally, there are no errors. It’s running with exactly the same node and next version as my local. I’ve set my environment variables properly. Any help would be greatly appreciated!
Here are the logs from a recent run:
==> Cloning from https://github.com/apple-pie-club/apple-pie-club-soen341_project_w25
==> Checking out commit 3e26e5a73027ef5387c231efe9ebcdc7f76153a9 in branch main
==> Using Node.js version 20.11.0 via environment variable NODE_VERSION
==> Docs on specifying a Node.js version: https://render.com/docs/node-version
==> Using Bun version 1.1.0 (default)
==> Docs on specifying a bun version: https://render.com/docs/bun-version
==> Running build command 'npm install && npm run build'...
added 200 packages, and audited 201 packages in 9s
47 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
> apple-pie-club-soen341_project_w25@0.1.0 build
> next build
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
▲ Next.js 15.1.6
Creating an optimized production build ...
✓ Compiled successfully
Linting and checking validity of types ...
==> Build failed 😞