question

Matt Titus avatar image
Matt Titus asked

Recovering/Rebuilding .ask directory

I have a custom Alexa skill that I made some time back which needed an update. Due to a recent hard drive crash I had to restore this project from an older backup. It appears that within my backup I can't deploy any updates to my skill using the ask-cli as it appears to be missing the .ask/ directory. The actual error I get from `ask deploy` that I get is;

"[Error]: Failed to deploy. Please ensure current working directory is the root of your skill project that contains the project config in the hidden .ask folder."

Is there a way I can manually recreate this file in an attempt to get the ask-cli working again?

Thank you

alexa skills kitalexaask cliask sdk
10 |5000

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

1 Answer

Jason@Amazon avatar image
Jason@Amazon answered

First of all, make sure you are running the 'ask deploy' in the directory that contains the skill you have cloned locally. If you don't have the .ask directory, you can run 'ask clone' to pull down the skill to a new directory, copy over the files you intend to update to the newly cloned directory and then deploy the changes from there.

1 comment
10 |5000

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

Matt Titus avatar image Matt Titus commented ·

Thank you this worked beautifully! When reviewing the man pages previously I misunderstood the intent of this command and therefore overlooked it! Thank you again for your time.

0 Likes 0 ·