bespoken/virtual-google-assistant

TypeError: googleFunction is not a function

Opened this issue · 0 comments

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);"
});