skill-sample-node-device-address-api icon indicating copy to clipboard operation
skill-sample-node-device-address-api copied to clipboard

serviceclientfactory is NOT defined

Open pete0959 opened this issue 4 years ago • 1 comments

downloaded your sample skill for device address, wont compile due to the error "serviceclientfactory is NOT defined"

it seems you missed the declaration in your code!

pete0959 avatar Mar 05 '20 20:03 pete0959

In exports.handler in index.js, you need to add .withApiClient(new Alexa.DefaultApiClient()). This line enables the creation of the serviceClientFactory in the way the creator does it.

natesabrown avatar Apr 14 '20 17:04 natesabrown