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
質問済み 4年前3068ビュー
1回答
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

回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ