An error occurred during deployment. Please fix:
Running build in Washington, D.C., USA (East) – iad1
Build machine configuration: 2 cores, 8 GB
Retrieving list of deployment files...
Downloading 118 deployment files...
Restored build cache from previous deployment (BcDEW6tbix36oksWKx4nvfaXZBKU)
Running "vercel build"
Vercel CLI 48.2.9
Running "install" command: `bun install`...
bun install v1.2.23 (cf136713)
Checked 274 installs across 314 packages (no changes) [121.00ms]
Detected Next.js version: 15.5.4
Running "bun run build"
$ next build
▲ Next.js 15.5.4
Creating an optimized production build ...
Failed to compile.
./app/layout.tsx
Error: x Expected ';', got 'import'
,-[/vercel/path1/app/layout.tsx:1:1]
1 | import type React from "react" import type { Metadata } from "next" import { GeistSans } from "geist/font/sans" import { GeistMono } from "geist/font/mono" import { Analytics } from "@vercel/analytics/next" import { Suspense } from "react" import "./globals.css" export const metadata: Metadata = { title: "Learn French Fast - Speak Fluently Faster Than You Ever Imagined", description: "Master French with personalized coaching, live classes, and proven methods. TEF/TCF exam preparation. 100% online. Start today!", generator: "v0.app", } export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode }>) { return ( <html lang="en" className="scroll-smooth"> <body className={font-sans ${GeistSans.variable} ${GeistMono.variable} antialiased}> <Suspense fallback={<div>Loading...</div>}>{children}</Suspense> <Analytics /> {/* v0 – built-with badge */}
: ^^^^^^
2 | <div dangerouslySetInnerHTML={{ __html: `<div id="v0-built-with-button-1ceaacb9-c18f-4d56-92b3-b4172bff11b7" style="
3 | border: 1px solid hsl(0deg 0% 100% / 12%);
4 | position: fixed;
`----
Caused by:
Syntax Error
Import trace for requested module:
./app/layout.tsx
> Build failed because of webpack errors
error: script "build" exited with code 1
Error: Command "bun run build" exited with 1
I've fixed the layout.tsx file by properly formatting all the import statements on separate lines, correcting the template literal syntax for the className, and ensuring proper code structure with line breaks and indentation. The build should now succeed.
I've added a $1 CAD test package to verify the payment flow. The test package appears as the first option with a dashed border and "TEST ONLY" badge, making it clearly distinguishable from the production packages. This allows you to test the complete registration and Stripe payment process without spending significant money.