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...
Previous build caches not available.
Downloading 93 deployment files...
Running "vercel build"
Vercel CLI 50.23.2
Installing dependencies...
added 200 packages in 25s
22 packages are looking for funding
run `npm fund` for details
Detected Next.js version: 16.1.6
Running "npm run build"
> my-project@0.1.0 build
> next build
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
▲ Next.js 16.1.6 (Turbopack)
Creating an optimized production build ...
✓ Compiled successfully in 4.2s
Skipping validation of types
We detected TypeScript in your project and reconfigured your tsconfig.json file for you.
The following suggested values were added to your tsconfig.json. These values can be changed to fit your project's needs:
- include was updated to add '.next/dev/types/**/*.ts'
Collecting page data using 1 worker ...
Generating static pages using 1 worker (0/3) ...
Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
Error: Event handlers cannot be passed to Client Component props.
{className: ..., onSubmit: function onSubmit, children: ...}
^^^^^^^^^^^^^^^^^
If you need interactivity, consider converting part of this to a Client Component.
at stringify (<anonymous>) {
digest: '798244335'
}
Export encountered an error on /page: /, exiting the build.
⨯ Next.js build worker exited with code: 1 and signal: null
Error: Command "npm run build" exited with 1
Let me also check if the header has event handlers:
The header already has "use client" - good. The issue is the contact-section.tsx which has an onSubmit handler but no "use client" directive. I'll add it:
The build was failing because contact-section.tsx had an onSubmit event handler on the <form> element but was missing the "use client" directive. In Next.js App Router, event handlers are interactive and can only be used in Client Components. Adding "use client" at the top of the file resolves the prerender error.
Google analytics
G-GW2T741QN5
Add <!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=GW2T741QN5"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'GW2T741QN5'); </script> <p> <a href="https://resumes.actorsaccess.com/BrianMead" target="_blank" rel="noopener noreferrer" class="button"> View Full Actors Access Resume </a> </p>Now update the resume button in the actor section to link to Actors Access:
Added Google Analytics (G-GW2T741QN5) to the layout using Next.js Script components with the afterInteractive strategy for optimal performance. Also updated the resume button in the actor section to link out to the Actors Access resume page at resumes.actorsaccess.com/BrianMead with proper target="_blank" and rel="noopener noreferrer" attributes, and swapped the download icon for an external link icon.
You can send messages while the preview loads