serverless/serverless-google-cloudfunctions

Getting "TypeError: Cannot read property '4' of null" on deploy

Open

#228 opened on Jul 8, 2020

View on GitHub
 (4 comments) (2 reactions) (1 assignee)JavaScript (124 forks)auto 404
bughelp wanted

Repository metrics

Stars
 (275 stars)
PR merge metrics
 (PR metrics pending)

Description

Im using Serverless to deploy some cloud functions to GCP with this plugin, but I keep getting the following error printed to the consols: TypeError: Cannot read property '4' of null

This error does not prevent the project from being properly deployed, and as a sanity check I even tried running a "hello world" deploy based on the official examples: https://github.com/serverless/examples/tree/master/google-node-simple-http-endpoint

Even with the official example, the error persists.

Contributor guide