Make sure another preset isn't set in `nuxt.config`.
```ts [nuxt.config.js]
export default {
nitro: {
// this is the default preset so you can also just omit it entirely
// preset: 'server'
}
}
```
## Deployment
After running `yarn build`, all you need is in the `.output` folder. Static assets are in the `public` subdirectory and the server and its dependencies are within the `server` subdirectory.
This `.output` folder can be deployed to your Node.js host and the server can be run using [`pm2`](https://pm2.keymetrics.io/docs/).