Skip to content

fix backend startup imports#1038

Open
Tomeshwari-02 wants to merge 1 commit into
souma9830:masterfrom
Tomeshwari-02:codex/add-backend-logger
Open

fix backend startup imports#1038
Tomeshwari-02 wants to merge 1 commit into
souma9830:masterfrom
Tomeshwari-02:codex/add-backend-logger

Conversation

@Tomeshwari-02

Copy link
Copy Markdown

Summary

  • add the missing backend logger utility imported by app startup code
  • avoid constructing the Resend client until an email is actually sent
  • remove duplicate/invalid Helmet options that prevented app construction

Why

The backend could not be imported from a fresh install because startup hit missing modules and module-load side effects before the Express app was created.

Fixes #1032

Validation

  • node -e "import('./src/app.js').then(()=>console.log('ok')).catch(e=>{console.error(e.stack); process.exit(1)})" from backend

@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the souma9830's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Tomeshwari-02 Tomeshwari-02 changed the title [codex] fix backend startup imports fix backend startup imports Jul 1, 2026
@Tomeshwari-02 Tomeshwari-02 marked this pull request as ready for review July 1, 2026 17:40
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.

bug: backend fails to start because src/utils/logger.js is missing

1 participant