Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

serviceclientfactory is NOT defined #18

Open
pete0959 opened this issue Mar 5, 2020 · 1 comment
Open

serviceclientfactory is NOT defined #18

pete0959 opened this issue Mar 5, 2020 · 1 comment

Comments

@pete0959
Copy link

pete0959 commented Mar 5, 2020

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!

@natesabrown
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants