44d1a1cb15
This PR is part of a larger effort to migrate error messages to MDX and use App Router: https://github.com/vercel/front/pull/23459
15 lines
459 B
Text
15 lines
459 B
Text
---
|
|
title: Deprecated target config
|
|
---
|
|
|
|
## Why This Error Occurred
|
|
|
|
Starting in Next.js 13, the `target` property in `next.config.js` has been removed.
|
|
|
|
## Possible Ways to Fix It
|
|
|
|
For serverless targets, please use the Output File Tracing or deploy your application somewhere where it can be leveraged automatically, like [Vercel](https://vercel.com).
|
|
|
|
## Useful Links
|
|
|
|
- [Output File Tracing Documentation](/docs/pages/api-reference/next-config-js/output)
|