serverless / serverless/examples
Getting "TypeError: Cannot read property '4' of null" on deploy
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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