2

所以我之前在使用actions-on-google和dialogflow时已经多次收到TypeErrors,但是,这个属性来自我不能在我的代码中而是在“DialogflowConversation”中理解的内容。因此我无法理解什么可能是未定义的......

这是错误消息的其余部分:

"TypeError: Cannot read property 'simpleResponse' of undefined
at DialogflowConversation.response (/user_code/node_modules/actions-on-google/dist/service/actionssdk/conversation/conversation.js:261:25)
at DialogflowConversation.serialize (/user_code/node_modules/actions-on-google/dist/service/dialogflow/conv.js:159:129)
at Function.<anonymous> (/user_code/node_modules/actions-on-google/dist/service/dialogflow/dialogflow.js:157:
at next (native)
at fulfilled (/user_code/node_modules/actions-on-google/dist/service/dialogflow/dialogflow.js:19:58)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)"
4

0 回答 0