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
asked 4 years ago3021 views
1 Answer
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

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions