Node.js background jobs are deployed on the Defer platform using your
20.x are supported. By default,
18.x will be used. To
use a specific version, or any constraint, add it in the
engines field of your
package.json as follows:
Npm, Pnpm, Yarn and Bun package managers are supported. The package manager to use is chosen based on the detected lockfile.
Here are the full details of detected package managers and their corresponding installation commands ran upon deploy.
npm ci --no-audit
yarn install --frozen-lockfile
pnpm install --shamefully-hoist --frozen-lockfile
bun install --frozen-lockfile
Dependencies are installed with the exact versions found in the lockfile