Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amplify configure

I have installed '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'.

like image 796
Kebasita Avatar asked Feb 03 '23 16:02

Kebasita


1 Answers

Please share your platform. Are you developing on Linux, Windows (Powershell), or Linux on Windows (WSL/Ubuntu)?

Did you install the CLI globally?

Try this:

npm install -g @aws-amplify/cli

And see if that works. If the global install fails, you can try running this per an Amplify developer:

npm install -g @aws-amplify/cli --unsafe-perm=true

Edit: since you're on Windows, it's possible the CLI wasn't added to your $PATH variable. You can fix it by seeing this Github issue.

like image 197
jkeys Avatar answered Feb 20 '23 01:02

jkeys