zsh: command not found: amplify

0

Hello,

I have installed npm install -g @aws-amplify/cli with and without sudo. I am still getting the error that amplify is not found.
aws version: aws-cli/1.18.97 Python/2.7.15 Darwin/18.7.0 botocore/1.17.20
node: v12.10.0
npm: v6.10.3

I am using MacBook Pro and VSCode.

Thank you in advance for any guidance you can offer.

Please advise,

Lisa

reinhal
gefragt vor 4 Jahren3068 Aufrufe
1 Antwort
0

Try printing out your PATH? It sounds like the global npm modules aren't in your PATH.

I think you can also try doing it by running it through npx.

npx amplify

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen