简体   繁体   English

命令错误“放大配置”:安装错误 aws amplify

[英]Command error “amplify configure” : installation error aws amplify

I tried to install aws amplify.我尝试安装 aws amplify。 But when I typed those commands in cmd window then an error message came out.但是当我在 cmd window 中输入这些命令时,出现了一条错误消息。

>amplify configure

"amplify" is not an internal or external command ..... 

In this case, what should I do?在这种情况下,我该怎么办? --I'm using Windows10 --我使用的是Windows10

You need to install the amplify-cli first.您需要先安装 amplify-cli。

npm install -g @aws-amplify/cli

If you have already done so, opening a new commandline and typing如果你已经这样做了,打开一个新的命令行并输入

amplify configure

Should begin the configuration process.应该开始配置过程。

I am having a similar problem.我有个类似的问题。 I have installed 'amplify-cli'.我已经安装了'amplify-cli'。 When I type 'amplify configure', I get the error message:当我输入“放大配置”时,我收到错误消息:

'amplify is not recognized as an internal or external command, operable program or batch file'. 'amplify 未被识别为内部或外部命令、可运行程序或批处理文件'。

You need to install Amplify CLI and configure it first.您需要先安装 Amplify CLI 并进行配置。

  1. Install Node.js in your system在您的系统中安装Node.js
  2. Install amplify cli using the command使用命令安装amplify cli
npm install -g @aws-amplify/cli

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM