Google Cloud tutorial fails in deploy step


I’m trying to deploy to google cloud using the tutorial:

The serverless deploy step fails. Would you help me out with this please?


Serverless: Packaging service...
Serverless: Compiling function "first"...
  Type Error ---------------------------------------------
     Object.keys(...).includes is not a function
     For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
  Stack Trace --------------------------------------------
TypeError: Object.keys(...).includes is not a function
    at GoogleProvider.isServiceSupported (.../dev/serverless/my-service/node_modules/serverless-google-cloudfunctions/provider/googleProvider.js:93:32)
    at .../dev/serverless/my-service/node_modules/serverless-google-cloudfunctions/provider/googleProvider.js:44:12
    at GoogleProvider.request (.../dev/serverless/my-service/node_modules/serverless-google-cloudfunctions/provider/googleProvider.js:42:12)
    at GoogleDeploy.checkForExistingDeployment (.../dev/serverless/my-service/node_modules/serverless-google-cloudfunctions/deploy/lib/createDeployment.js:20:26)
    at processImmediate [as _immediateCallback] (timers.js:383:17)
From previous event:
    at PluginManager.invoke (.../.nvm/versions/node/v4.2.4/lib/node_modules/serverless/lib/classes/PluginManager.js:234:22)
    at (.../.nvm/versions/node/v4.2.4/lib/node_modules/serverless/lib/classes/PluginManager.js:253:17)
    at .../.nvm/versions/node/v4.2.4/lib/node_modules/serverless/lib/Serverless.js:100:33
From previous event:
    at (.../.nvm/versions/node/v4.2.4/lib/node_modules/serverless/lib/Serverless.js:87:74)
    at .../.nvm/versions/node/v4.2.4/lib/node_modules/serverless/bin/serverless:23:50
  Get Support --------------------------------------------
  Your Environment Information -----------------------------
     OS:                 darwin
     Node Version:       4.2.4
     Serverless Version: 1.14.0

serverless.yml (as automatically created and updated with project and credentials details)

Path to the credentials file is fine. The project name is fine too (the project id is the same as the project name on google cloud)

service: my-service

  name: google
  runtime: nodejs
  project: first-service
  credentials: ~/.gcloud/key-file-name.json

  - serverless-google-cloudfunctions

    - node_modules/**
    - .gitignore
    - .git/**

    handler: http
      - http: path

Points to note:

  • I’ve enabled all the required APIs for my project
  • Billing is enabled for my project

I haven’t tried the tutorials (or seen that error) but i can tell you my sls file looks the same, so i doubt it related to that.
It looks a bit like a code issue, but i was wondering if it’s something as crazy as “http” can’t be used for a function name? I had issues getting one called “trigger” fully deployed, but when i renamed it, it deployed without an issue…

I am facing same issue. Any solution