Skip to content

Install build dependencies on Render - #17

Merged
Alimaster30 merged 1 commit into
mainfrom
agent/render-install-build-deps
Jul 23, 2026
Merged

Install build dependencies on Render#17
Alimaster30 merged 1 commit into
mainfrom
agent/render-install-build-deps

Conversation

@Alimaster30

Copy link
Copy Markdown
Owner

What changed

  • Updates the Render web build command to run npm ci --include=dev.

Why

The first production deploy failed while loading next.config.ts because Render set NODE_ENV=production, causing npm to omit the TypeScript build dependency.

Impact

Render installs the build-time dependencies required by Next.js while the running application remains configured for production.

Validation

  • Render failure log identified Cannot find module 'typescript' while loading next.config.ts.
  • Parsed render.yaml successfully.
  • Confirmed the free plan remains enabled.
  • Confirmed the build command begins with npm ci --include=dev.
  • git diff --check passed.

@Alimaster30
Alimaster30 marked this pull request as ready for review July 23, 2026 15:00
@Alimaster30
Alimaster30 merged commit 933da6d into main Jul 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant