You are supposed to include gm
on your dependencies. You can do so by running:
npm install gm
And have your dependencies look like:
"dependencies": {
"@google-cloud/storage": "^5.0.0",
"@google-cloud/vision": "^2.0.0",
"gm": "^1.23.1"
}
I just followed this documentation and it's working fine on Nodejs10 runtime.
UPDATE: It looks like there's an open issue on GitHub about this problem. I suggest you put a comment in there and provide detailed information similar to what the reporter did.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…