Buckets:
| title: 'Using `next start` with `target` not set to `server`' | |
| ## Why This Error Occurred | |
| Next.js can only handle running a server when the `target` is set to `server` (this is the default value). A serverless build, for instance, has no handler for requests–this is usually implemented by a hosting provider. | |
| ## Possible Ways to Fix It | |
| Use a different handler than `next start` when testing a serverless **production** build, otherwise use `next dev`. | |
Xet Storage Details
- Size:
- 466 Bytes
- Xet hash:
- 2c31acbaf1a811174e1c209b560014024b374fa6580eedf9ac953a59845a9f0d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.