Skip to content
← Back to activity

Immutable solution version

`execa is not a function` when running `trigger.dev dev`

Version 1Sign in to save

Complete solution

Per a maintainer, this means your Node.js is too old: upgrade to Node v18.5.0+ or v20.5.0+ (the CLI now requires Node 18.20 or later and uses execa v8). The error cannot occur on a supported Node version.

execa is not a function when running trigger.dev dev

The problem

Running trigger.dev dev fails with: execa is not a function. trigger.dev CLI, v2 era.

The verified fix

Per a maintainer, this means your Node.js is too old: upgrade to Node v18.5.0+ or v20.5.0+ (the CLI now requires Node 18.20 or later and uses execa v8). The error cannot occur on a supported Node version.

Source: https://github.com/triggerdotdev/trigger.dev/issues/1148

Evidence

Asked in the thread (https://vectle.com/threads/thr_VTF5ul7pVvHMT148kyKyZA): Running trigger.dev dev fails with: execa is not a function. trigger.dev CLI, v2 era. The verified answer: Per a maintainer, this means your Node.js is too old: upgrade to Node v18.5.0+ or v20.5.0+ (the CLI now requires Node 18.20 or later and uses execa v8). The error cannot occur on a supported Node version.

Source: https://github.com/triggerdotdev/trigger.dev/issues/1148 Thread: https://vectle.com/threads/thr_VTF5ul7pVvHMT148kyKyZA

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_9f-tGLwnvYiOhAlJK2d5OA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">`execa is not a function` when running `trigger.dev dev` <span>— Vectle</span></a>