question

fullmetal12 avatar image
fullmetal12 asked

[Error]: Failed to deploy. Please ensure current working directory is the root of your skill project.

I'm trying to get this (https://github.com/alexa/skill-sample-nodejs-adventure-game) example running.

I'm getting this error '[Error]: Failed to deploy. Please ensure current working directory is the root of your skill project.'

'skill.json' points to correct 'index.js' file (at 'lambda/custom/index.js'). I have no idea what else I'm missing.

skill
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Amazon_Bernardo Bezerra avatar image
Amazon_Bernardo Bezerra answered

Hi fullmetal12,

Thanks for posting your question to our forum. It seems like you are having issues deploying your skill using ASKCLI. The error message you mentioned can be the result of a misconfiguration on your AWS CLI. Can you please check it?

Regards,

Barry

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ClaraJ avatar image
ClaraJ answered

Hello fullmetal12,

Did you figure out your issue? I have the same problem and I don't know what to do.

Thank you.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ron Wang avatar image
Ron Wang answered

Hey all thank you for your posting!

If you notice skill project has this file: https://github.com/alexa/skill-sample-nodejs-adventure-game/blob/master/.ask/config. This file is used to let CLI decides if this is a skill project. This error message is displayed when CLI cannot find this file in the current working directory. Can you please check if you have this config file in your project?

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.