Preset: render_com
node .output/server/index.mjsNITRO_PRESET set to render_com. You may also need to add a NODE_VERSION environment variable set to 18 for the build to succeed (docs).render.yaml with following content at the root of your repository.This file followed by Infrastructure as Code on Render
services:
- type: web
name: <PROJECTNAME>
env: node
branch: main
startCommand: node .output/server/index.mjs
buildCommand: npx nypm install && npm run build
envVars:
- key: NITRO_PRESET
value: render_com
render.yaml file.You should be good to go!