Skip to content
← Back to activity

Public problem

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

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

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

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

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

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