Fix deployment build failures: lazy initialization and static generation#7
Draft
Copilot wants to merge 5 commits into
Draft
Fix deployment build failures: lazy initialization and static generation#7Copilot wants to merge 5 commits into
Copilot wants to merge 5 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: DealPatrol <118781133+DealPatrol@users.noreply.github.com>
… font loading, update CI workflow Co-authored-by: DealPatrol <118781133+DealPatrol@users.noreply.github.com>
Co-authored-by: DealPatrol <118781133+DealPatrol@users.noreply.github.com>
Co-authored-by: DealPatrol <118781133+DealPatrol@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix deployment issues in the application
Fix deployment build failures: lazy initialization and static generation
Dec 26, 2025
DealPatrol
approved these changes
Dec 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Next.js build was failing due to API clients requiring credentials at module load time and pages attempting static generation without environment variables.
Changes
API Client Initialization
lib/stripe.ts,lib/email.tsx, and API routes to instantiate clients on-demandGoogle Fonts Loading
next/font/google(build-time fetching) to runtime loading via link tagsglobals.cssfor font family fallbacksRoute Conflicts
app/auth/callback/page.tsxconflicting withroute.tsin same segmentStatic Generation
export const dynamic = 'force-dynamic'to pages requiring database access (/browse-memorials,/products)type: "product"totype: "website"for Next.js 14 compatibilityCI Workflow
.github/workflows/webpack.ymlto usenpm run buildinstead ofnpx webpackWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
fonts.googleapis.com/usr/local/bin/node /usr/local/bin/node /home/REDACTED/work/v0-memorialqrwebsitecode/v0-memorialqrwebsitecode/node_modules/next/dist/compiled/jest-worker/processChild.js(dns block)/usr/local/bin/node /usr/local/bin/node /home/REDACTED/work/v0-memorialqrwebsitecode/v0-memorialqrwebsitecode/node_modules/next/dist/compiled/jest-worker/processChild.js -m owner --uid-owner 0 -j ACCEPT(dns block)/usr/local/bin/node /usr/local/bin/node /home/REDACTED/work/v0-memorialqrwebsitecode/v0-memorialqrwebsitecode/node_modules/next/dist/compiled/jest-worker/processChild.js REDACTED build git conf�� submodules | head -n 10 --local rgo/bin/node credential.helpe/usr/local/bin/node(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.