serverless-google-cloudfunctions icon indicating copy to clipboard operation
serverless-google-cloudfunctions copied to clipboard

Need to update the googleapis module to the latest one.

Open arunshan opened this issue 7 years ago • 1 comments

This is in regards to this issue that google fixed recently

arunshan avatar Oct 20 '17 17:10 arunshan

@pmuens Currently there is a latest version of [email protected] that we would like to use which claims to resolve the above issue. When I try to update this, I get deployment errors. Can you please look into this?

 
  Cannot read property 'find' of undefined
 
     For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
 
  Stack Trace --------------------------------------------
 
Error: Cannot read property 'find' of undefined
    at provider.request.then.catch (/Users/arunshankar/layer/serverless-translator-google/node_modules/serverless-google-cloudfunctions/shared/monitorDeployment.js:51:24)
From previous event:
    at PluginManager.invoke (/Users/arunshankar/.nvm/versions/node/v6.10.0/lib/node_modules/serverless/lib/classes/PluginManager.js:368:22)
    at PluginManager.run (/Users/arunshankar/.nvm/versions/node/v6.10.0/lib/node_modules/serverless/lib/classes/PluginManager.js:399:17)
    at variables.populateService.then (/Users/arunshankar/.nvm/versions/node/v6.10.0/lib/node_modules/serverless/lib/Serverless.js:102:33)
    at runCallback (timers.js:651:20)
    at tryOnImmediate (timers.js:624:5)
    at processImmediate [as _immediateCallback] (timers.js:596:5)
From previous event:
    at Serverless.run (/Users/arunshankar/.nvm/versions/node/v6.10.0/lib/node_modules/serverless/lib/Serverless.js:89:74)
    at serverless.init.then (/Users/arunshankar/.nvm/versions/node/v6.10.0/lib/node_modules/serverless/bin/serverless:42:50)```

arunshan avatar Jan 23 '18 20:01 arunshan