question

Amazon Alexa avatar image
Amazon Alexa asked

CLI generated hosted skill - git interactions started to fail

Hi. Merrily developing an "ask new" generated skill locally using vscode and git push. Push (and pull) decided to stop working.


Created a new CLI Hosted project with "ask new". Project created on developer console, but won't clone back down. Get the message below. Not too familiar with gits workings, so any help appreciated.

- Cloning Alexa Hosted Skill...C:\Users\myname\AppData\Roaming\npm\node_modules\ask-cli\lib\clients\git-client.js:238

throw new CLiError(`${ex}`);

^


CliError: Error: Command failed: git fetch --all --quiet

warning: invalid credential line: ##########################################################################

bash: /dev/tty: No such device or address

error: failed to execute prompt script (exit code 1)

fatal: could not read Username for 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/23f4d732-c205-44fa-9349-3dd2ef4d9041': No such file or directory

error: Could not fetch origin


alexa skills kitask cliASK Toolkit for Visual Studio Code
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

Hello and thank you for your message.

Please provide the following information to help me with the troubleshooting:

  • version of the ASK CLI;
  • command being executed;

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.

Ron Wang avatar image
Ron Wang answered

This bug has been fixed in https://github.com/alexa/ask-cli/blob/develop/CHANGELOG.md#2111-2020-06-25


Please update your ask-cli to the latest version, sorry for the inconvenience.

10 |5000

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