const nextConfig: NextConfig = {
output: 'standalone',
};
> Build error occurred
Error: ENOENT: no such file or directory, copyfile 'test-sentry/.next/server/proxy.js' -> 'test-sentry/.next/standalone/.next/server/proxy.js'
at ignore-listed frames {
errno: -2,
code: 'ENOENT',
syscall: 'copyfile',
path: 'test-sentry/.next/server/proxy.js',
dest: 'test-sentry/.next/standalone/.next/server/proxy.js'
}
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
10.21.0
Framework Version
Next.js 16
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
npm run buildExpected Result
Build should succeed
Actual Result
Additional Context
Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it.