Supported frameworks and runtimes in Orbit

Supported frameworks and runtimes in Orbit

Orbit auto-detects your framework and applies the right build configuration automatically. No manual setup needed for supported frameworks.

Auto-detection

When you connect a repository, Orbit inspects your package.json and project structure to detect the framework. The detected framework is shown:

  • As a badge on deployment cards in the project overview
  • In the Framework field on the deployment detail page

If Orbit can't detect your framework, it falls back to running npm run build and serving the output directory.

Supported frameworks

FrameworkAuto-detectedDefault build commandDefault output
Next.jsnext build.next
Vitevite builddist
Create React Appreact-scripts buildbuild
Astroastro builddist
SvelteKitvite buildbuild
Nuxt 3nuxt build.output
Remixremix buildbuild
Gatsbygatsby buildpublic
Static HTML(none)root directory

For server-rendered frameworks (Next.js with SSR, Nuxt, Remix), enable Server Mode in Settings to run your app as a Node.js process rather than serving static files.

Node.js version

Select your Node.js version from Settings → Build settings:

  • Node.js 18 (LTS)
  • Node.js 20 (LTS, recommended)
  • Node.js 22 (Current)

The version applies to both the build environment and runtime (in server mode).

Package managers

Orbit detects and uses the right package manager automatically:

  • package-lock.json → npm
  • yarn.lock → yarn
  • pnpm-lock.yaml → pnpm

Custom build settings

Override any auto-detected setting in Settings → Build settings:

FieldExample
Build commandnpm run build:prod
Install commandnpm ci
Output directorydist/client
Root directoryapps/frontend (monorepos)

The Root directory field is useful for monorepos where your app lives in a subdirectory of the repository.

Build cache

Orbit caches node_modules between builds. When a cached install is used, the deployment detail shows a cache hit badge and the install step is much faster. To force a full reinstall, go to Settings → Clear build cache.

Was this article helpful?

Still need help?

Our support team is here on business days, NZT.

Back to Help Centre