serverless / serverless/examples

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

Open
#523 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
11.5k
Forks
4.4k
Avg merge
2h 55m
Merged PRs (30d)
3

Description

I copied the example at https://github.com/serverless/examples/tree/master/google-node-simple-http-endpoint and every time I try to deploy, I get the error :
TypeError: Cannot read property '4' of null

Im not sure if this is an error with the repo example code, or with the plugin https://github.com/serverless/serverless-google-cloudfunctions

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the google-node-simple-http-endpoint example linked in the issue and reproduce the deployment failure. Then compare the example behavior with the serverless-google-cloudfunctions plugin to locate which component produces the null-property error. Done means identifying the responsible project and recording a reproducible cause or fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud, javascript
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.