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 36 deployment files...
...
Ecmascript file had an error
at <unknown> (./app/layout.tsx:28:14)
Error: Command "node .v0/inject-built-with-v0.mjs && next build" exited with 1
I see the issue - there are two duplicate export const metadata declarations. I'll remove the duplicate and fix the metadata:
Fixed! I removed the duplicate metadata export that was causing the build error. The issue was that TypeScript doesn't allow multiple exports with the same name. The layout now has a single metadata object with the correct RIKIS PAY branding and should build successfully.
I found the issue! The layout.tsx file has the metadata export declared twice (lines 5 and 28). I'll fix this by removing the duplicate and keeping the correct RIKIS PAY metadata:
Fixed! The issue was a duplicate metadata export in the layout file. You can't declare the same export twice in JavaScript/TypeScript. I removed the first generic v0 metadata declaration and kept only the RIKIS PAY exchange app metadata. The build should now complete successfully, and your USDT exchange app will deploy without errors.
body{
background:#f4f9ff;
font-family:Arial,sans-serif;
}
.exchange-box{
max-width:700px;
margin:auto;
background:white;
padding:30px;
border-radius:20px;
box-shadow:0 0 25px rgba(0,119,255,.15);
text-align:center;
}
h1{
color:#0066ff;
font-size:40px;
}
.subtitle{
color:#555;
font-weight:bold;
}
.services{
display:grid;
gap:15px;
margin-top:20px;
}
.item{
display:flex;
align-items:center;
justify-content:center;
gap:15px;
padding:15px;
background:#eef5ff;
border-radius:12px;
font-weight:bold;
}
.item img{
width:45px;
height:45px;
}
.crypto-icons{
margin-top:25px;
font-size:22px;
}
.fee{
margin-top:20px;
background:#0066ff;
color:white;
padding:15px;
border-radius:12px;
font-size:22px;
font-weight:bold;
}
.contact{
margin-top:20px;
font-size:18px;
font-weight:bold;
}
button{
margin-top:20px;
background:#0066ff;
color:white;
padding:15px 30px;
border:none;
border-radius:10px;
font-size:18px;
cursor:pointer;
}