Error when automatically deploying actions using auth0 deploy-cli tool

I am using the auth0 deploy-cli tool with a directory structure configuration to automate deployments between tenants. I just implemented my first action and was able to export it from my sandbox tenant but when I try to deploy using the deploy-cli tool I am getting the following error:

There was an issue deploying to sandbox. Error: TypeError: Cannot read property 'code' of undefined

I tried updating all the various auth0 npm dependencies with no luck.