Skip to content

TypeError: googleFunction is not a function #58

Description

@pintonos

Description:

Rebuilding the example in the readme, following error occured:

(node:7520) UnhandledPromiseRejectionWarning: TypeError: googleFunction is not a function
    at Function.<anonymous> (C:\Users\..\lambda\node_modules\virtual-google-assistant\lib\src\Invoker.js:57:70)
    at Generator.next (<anonymous>)
    at C:\Users\..\lambda\node_modules\virtual-google-assistant\lib\src\Invoker.js:7:71
    at new Promise (<anonymous>)
...
    at C:\Users\..lambda\node_modules\virtual-google-assistant\lib\src\LocalFunctionInteractor.js:13:38)

Environment:

  • Version: 0.3.6
  • OS: Windows 10
  • Node version: 12.16.1

Code example

assistant.utter("help").then((payload) => {
    console.log("OutputSpeech: " + result.speech);"
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions