Error with xcode-archive step - can't find node binary

The xcode-archive step started failing (after previous successful builds) with the error: Can't find the '/usr/local/opt/node/bin/node' binary to build the React Native bundle

I have not made any changes to the node version being used locally.

Xcode 13.3.x
xcode-archive v4.5.2