marcy-terui / serverless-alexa-skills

Manage your Alexa Skills with Serverless Framework
https://www.npmjs.com/package/serverless-alexa-skills
MIT License
71 stars 13 forks source link

Cryptic error message when not authorised #20

Closed paullessing closed 5 years ago

paullessing commented 5 years ago

Trying to run sls alexa build without having run alexa auth results in the following message:

<home-dir>/.serverless/.alexa-skills-token.json: ENOENT: no such file or directory, open '<home-dir>/.serverless/.alexa-skills-token.json'

It took me a while to figure out what it meant, and it would have been great if the error message was more helpful.