An error occurred during deployment. Please fix:
Running build in Washington, D.C., USA (East) – iad1
Build machine configuration: 4 cores, 8 GB
Cloning github.com/ImRonAI/cato-labs-web (Branch: main, Commit: 82bc4a5)
Previous build caches not available.
Cloning completed: 398.000ms
...
at <unknown> (https://nextjs.org/docs/messages/module-not-found)
ELIFECYCLE Command failed with exit code 1.
Error: Command "pnpm run build" exited with 1
Same error persists - the font weight 900 for JetBrains Mono. My previous fix didn't make it to the deployment. Let me read the current layout file and apply the fix again:
I see the issue now - there's actually a duplicate declaration on line 30: const _jetbrainsMono = JetBrains_Mono({ subsets: ["latin"], variable: "--font-jetbrains" }) which doesn't have a weight specified, causing it to default to trying weight 900. Let me fix this:
Fixed the build error by adding explicit weight array to the second JetBrains_Mono declaration on line 30. Without specifying weights, Next.js was attempting to use the default which includes 900, but JetBrains Mono only supports weights up to 800. The deployment should now succeed.
An error occurred during deployment. Please fix:
Running build in Washington, D.C., USA (East) – iad1
Build machine configuration: 4 cores, 8 GB
Cloning github.com/ImRonAI/cato-labs-web (Branch: main, Commit: 82bc4a5)
Previous build caches not available.
Cloning completed: 398.000ms
...
at <unknown> (https://nextjs.org/docs/messages/module-not-found)
ELIFECYCLE Command failed with exit code 1.
Error: Command "pnpm run build" exited with 1
The error is clear - JetBrains Mono weight 900 is still in the code. The commit hash is 82bc4a5 which means my fix hasn't been deployed yet. Let me read the current file and provide the complete fix:
I see the issue now. Line 17 has _geist with weight "900" which is valid for Geist, but looking at the error, it's specifically about JetBrains Mono. The current layout file shows the fix already applied to _jetbrainsMono. However, the build is using an older commit (82bc4a5). Let me provide the complete fixed file again:
The layout file now has all JetBrains Mono font declarations using only valid weights (100-800). The previous deployment was using an older commit that still had the invalid weight 900. This fresh write should sync to Git and trigger a successful build.