Reputation: 640
I have just installed amplify cli through the command:
npm install @aws-amplify/cli
It mentions it has installed version 4.2.0.
Following the directions of the document below, I tried to run an "Amplify Pull" command to rearrange my files based on the contents on the cloud:
https://aws-amplify.github.io/docs/cli-toolchain/quickstart
However it tells me that The Amplify CLI can NOT find command: pull
Is it correct? Which command should I run instead of this one?
Upvotes: 0
Views: 3458
Reputation: 1
It seems like changing the F (capital) to f (lowercase) solved my issue:
amplify remove Function
The Amplify CLI can NOT find command: remove Function
Scanning for plugins...
amplify remove function
No resources added for this category
p.s (Function is the name of the category)
Upvotes: 0
Reputation: 2087
Can you confirm you ran npm install -g @aws-amplify/cli
(note the -g
flag)? Otherwise, you may have an older global amplify
, while your local project has the newer amplify
.
which amplify
should return something like /usr/local/bin/amplify
amplify --version
should return 4.2.0
Upvotes: 1