我正在一個錯誤js.do讀取需要幫助固定Alexa的技能
ReferenceError: Can't find variable:exports on line 22
線22讀
exports.handler = function (event, context) {
當我在developer.amazon服務模擬器測試了一下,迴應
the remote endpoint could not be called, or the response it returned was invalid
這是什麼意思,我能做些什麼來解決它?
我不知道Alexa,但不應該是'module.exports'? – kay
我在Alexa上看到的每個教程和指南都使用了exports.handler – Quaker18
那麼錯誤很可能出現在'exports.handler ='之前的21行中,而您沒有發佈。 – kay