简体   繁体   English

使用“问新”时 Alexa 托管的技能错误

[英]Alexa-hosted skill error when using "ask new"

Spent a few hours on this now so time to ask for help.现在花了几个小时,所以有时间寻求帮助。 Trying to install Alexa ASK CLI on Windows 10.尝试在 Windows 10 上安装 Alexa ASK CLI。

NPM v5.5.1 Node v8.9.1 Git git version 2.28.0.windows.1 NPM v5.5.1 节点 v8.9.1 Git git 版本 2.28.0.windows.1

Ran "ask configure" and set up profile fine.运行“询问配置”并设置好配置文件。

When i run "ask new" it gets to "- Cloning Alexa Hosted Skill..." the throws the following error:当我运行“ask new”时,它会出现“- Cloning Alexa Hosted Skill...”,并抛出以下错误:

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

CliError: Error: Command failed: git fetch --all --quiet
C:\Users\Edd\AppData\Roaming\npm/node_modules/node/bin/node: line 1: This: command not found
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/4c375da4- 
810d-4c16-b07e-0f5851bf72aa': No such file or directory
error: Could not fetch origin

at GitClient._execCommands (C:\Users\Edd\AppData\Roaming\npm\node_modules\ask-cli\lib\clients\git-client.js:238:23)
at GitClient.fetchAll (C:\Users\Edd\AppData\Roaming\npm\node_modules\ask-cli\lib\clients\git-client.js:98:14)
at _gitCloneWorkflow (C:\Users\Edd\AppData\Roaming\npm\node_modules\ask-cli\lib\controllers\hosted-skill-controller\clone-flow.js:83:15)
at Object.cloneProjectFromGit (C:\Users\Edd\AppData\Roaming\npm\node_modules\ask-cli\lib\controllers\hosted-skill-controller\clone-flow.js:60:5)
at getHostedSkillMetadata (C:\Users\Edd\AppData\Roaming\npm\node_modules\ask-cli\lib\controllers\hosted-skill-controller\index.js:66:23)
at smapiClient.skill.alexaHosted.getAlexaHostedSkillMetadata (C:\Users\Edd\AppData\Roaming\npm\node_modules\ask-cli\lib\controllers\hosted-skill-controller\index.js:102:13)
at _normalizeSmapiResponse (C:\Users\Edd\AppData\Roaming\npm\node_modules\ask-cli\lib\clients\smapi-client\index.js:169:21)
at _normalizeSmapiResponse (C:\Users\Edd\AppData\Roaming\npm\node_modules\ask-cli\lib\clients\smapi-client\index.js:189:5)
at httpClient.request (C:\Users\Edd\AppData\Roaming\npm\node_modules\ask-cli\lib\clients\smapi-client\index.js:168:17)
at Request.requestLib [as _callback] (C:\Users\Edd\AppData\Roaming\npm\node_modules\ask-cli\lib\clients\http-client.js:62:16)'''

Ive tried reinstalling NPM, Node, Git, resetting "ask configure", changing GIT install options and everything else I can think of.我试过重新安装 NPM、Node、Git、重置“询问配置”、更改 GIT 安装选项以及我能想到的所有其他内容。

Anyone any ideas?有人有什么想法吗?

Thanks in advance.提前致谢。

Upgraded node to 12.18.0 and NPM to 6.14.4 and worked.将节点升级到 12.18.0 并将 NPM 升级到 6.14.4 并工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Visual Studio Code 中处理 Alexa Skill 中的 git 问题 - Dealing with git problem in Alexa Skill in Visual Studio Code 尝试从 assembla 托管的 git 存储库推/拉时出错 - error when attempting to push/pull from git repository hosted by assembla 在提交中添加新添加的文件时使用TortoiseGit diff命令时出错 - Error when using TortoiseGit diff command with new added file in commit 为什么我收到由Heroku托管的全新应用程序的应用程序错误错误页面? - Why am I getting an Application Error error page for my brand new app hosted by Heroku? 排队时如何使用自托管代理清理构建 - How to clean build using self-hosted agent when queuing 使用 Android Studio 推送到云服务时“请生成新的标识符”错误 - “Please generate new Identifier” error when pushing to cloud services using Android studio 打开新的bash标签时出现cmder错误 - cmder error when open new bash tab TortoiseGit-什么时候要求输入用户名和密码? - TortoiseGit - When does it ask for a username and password? 将Git与Heroku上托管的Redmine一起使用 - Using Git with a Redmine hosted on Heroku 在自托管的GitLab实例中创建新项目 - Create new Project in self-hosted GitLab instance
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM