Amplify-cli: The Amplify CLI can NOT find command: serve

Created on 1 Oct 2019  路  4Comments  路  Source: aws-amplify/amplify-cli

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the
Amplify Console GitHub Issue Tracker

Describe the bug
I created an app using npx create-react-app

To Reproduce
Steps to reproduce the behavior:

  1. amplify serve

Expected behavior
to not get The Amplify CLI can NOT find command: serve

Desktop (please complete the following information):

  • Ubuntu 16.04
bug platform review

Most helpful comment

@aluminick honestly, I don't remember and I'm too ignorant to figure it out. But, after thinking about it, rolling back to a previous version many be a bit drastic since the issue is just the command alias. Running amplify run instead of amplify serve seems to do the trick for me on the current version.

All 4 comments

Looks like this is patched in https://github.com/aws-amplify/amplify-cli/pull/2394, hoping for a quick resolution!

@hatertron3000 what version were you using before you get the error?

@aluminick honestly, I don't remember and I'm too ignorant to figure it out. But, after thinking about it, rolling back to a previous version many be a bit drastic since the issue is just the command alias. Running amplify run instead of amplify serve seems to do the trick for me on the current version.

Closing this issue as the fix for this has been merged.
https://github.com/aws-amplify/amplify-cli/pull/2394

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kstro21 picture kstro21  路  3Comments

davo301 picture davo301  路  3Comments

ReidWeb picture ReidWeb  路  3Comments

gabriel-wilkes picture gabriel-wilkes  路  3Comments

adriatikgashi picture adriatikgashi  路  3Comments