Download next.js/errors/deprecated-target-config.mdx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/errors/deprecated-target-config.mdx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/errors/deprecated-target-config.mdx
-
curl -L -o deprecated-target-config.mdx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/errors/deprecated-target-config.mdx
466 Bytes
| 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/config/next-config-js/output) | |