Skip to content

fix: add missing vendor/pages.css causing 500 on all routes#460

Open
dnplkndll wants to merge 1 commit intoChurchApps:mainfrom
dnplkndll:fix/missing-vendor-css
Open

fix: add missing vendor/pages.css causing 500 on all routes#460
dnplkndll wants to merge 1 commit intoChurchApps:mainfrom
dnplkndll:fix/missing-vendor-css

Conversation

@dnplkndll
Copy link
Contributor

Problem

Commit 0fa20e0 ("Copy apphelper assets locally") changed the import in src/app/layout.tsx from:

import "@churchapps/apphelper-website/dist/styles/pages.css";

to:

import "@/styles/vendor/pages.css";

But the file src/styles/vendor/pages.css was never created. Additionally, /src/styles/vendor was added to .gitignore, preventing the file from being tracked.

This causes every route to return a 500 error because Next.js cannot resolve the CSS import at build/dev startup.

Fix

  • Copies pages.css from @churchapps/apphelper-website@0.6.19 (dist/styles/pages.css, 13.4kB) into src/styles/vendor/pages.css
  • Removes the /src/styles/vendor entry from .gitignore so the file is committed

Testing

  • Verified B1App starts without errors and serves pages correctly after this fix
  • All existing imports (@/styles/vendor/pages.css) resolve without changes

Commit 0fa20e0 ("Copy apphelper assets locally") changed the import in
layout.tsx from @churchapps/apphelper-website/dist/styles/pages.css to
@/styles/vendor/pages.css, but never created the file. It also added
/src/styles/vendor to .gitignore, preventing the file from being tracked.

This copies pages.css from @churchapps/apphelper-website@0.6.19 into
src/styles/vendor/ and removes the gitignore entry so the file is committed.

Without this fix, every route returns a 500 error because Next.js cannot
resolve the CSS import at build/dev startup.
@vercel
Copy link

vercel bot commented Mar 15, 2026

@dnplkndll is attempting to deploy a commit to the Live Church Solutions Team on Vercel.

A member of the Team first needs to authorize it.

dnplkndll added a commit to dnplkndll/B1Stack that referenced this pull request Mar 15, 2026
The B1App CSS import issue (missing src/styles/vendor/pages.css) is now
fixed on dnplkndll/B1App#fix/missing-vendor-css (upstream PR: ChurchApps/B1App#460).

- Add fix/missing-vendor-css to B1App merges in repos.yaml
- Restore B1App in wait-ready (was excluded with WAIT_SERVICES filter)
- Remove skip comments for B1App E2E tests
- Increase WAIT_TIMEOUT to 300s (B1App Next.js cold-compile needs time)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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