Serverless invoke local -f myFunction --stage dev -d "{....}" --docker fails at "Building Docker image"

the --docker switch isn’t working for me, and it’s a real blocker, I can’t test locally.

I’ve switched on SLS_DEBUG, but I’m not getting much extra information. I’ve tried switching between version of node (10 & 12) but no luck. Please help.

It fails on the Building Docker image
I will post more details in the comments, I’m being denied posting with ‘links’ because I’m a new user

Your Environment Information ---------------------------
OS: darwin
Node Version: 12.10.0
Serverless Version: 1.40.0

Serverless: Packaging service…
Serverless: Excluding development dependencies…
Serverless: Packaging Python Requirements Lambda Layer…
Serverless: Invoke aws:package:finalize
Serverless: Invoke aws:common:moveArtifactsToPackage
Serverless: Building Docker image…
1
1

Error --------------------------------------------------

1

 For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

Stack Trace --------------------------------------------

Error: 1
at module.exports.logError (/Users/mikeblom/.nvm/versions/node/v12.10.0/lib/node_modules/serverless/lib/classes/Error.js:93:11)
at /Users/mikeblom/.nvm/versions/node/v12.10.0/lib/node_modules/serverless/bin/serverless:65:3
at processImmediate (internal/timers.js:439:21)
at process.topLevelDomainCallback (domain.js:131:23)
From previous event:
at /Users/mikeblom/.nvm/versions/node/v12.10.0/lib/node_modules/serverless/bin/serverless:62:9
at Object. (/Users/mikeblom/.nvm/versions/node/v12.10.0/lib/node_modules/serverless/bin/serverless:66:4)
at Module._compile (internal/modules/cjs/loader.js:936:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:947:10)
at Module.load (internal/modules/cjs/loader.js:790:32)
at Function.Module._load (internal/modules/cjs/loader.js:703:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:999:10)
at internal/main/run_main_module.js:17:11