Amplify-cli: `amplify add auth` not adding anything according to CLI

Created on 6 Oct 2018  Â·  3Comments  Â·  Source: aws-amplify/amplify-cli

Describe the bug
Amplify auth appears to not be added when using a fresh project after running amplify init

To Reproduce
Steps to reproduce the behavior:

  1. Run amplify init
  2. Run amplify add auth
  3. Run amplify push
  4. See this
amplify push
| Category | Resource name | Operation | Provider plugin |
| -------- | ------------- | --------- | --------------- |
? Are you sure you want to continue? true
√ All resources are updated in the cloud

Potentially related - running amplify status returns this:

amplify status
| Channel | Status   |
| ------- | -------- |
| APNS    | Disabled |
| FCM     | Disabled |
| Email   | Disabled |
| SMS     | Disabled |

I have not seen this before and it seems strange.

Expected behavior
There should be auth listed in the status.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10

amplify -v
0.1.27

bug windows

All 3 comments

@mwarger This is a known issue and is tied to our underlying CLI framework - gluegun, and there is a fix provided for the same -> https://github.com/infinitered/gluegun/issues/384, but they haven't gotten a chance to publish a new version to NPM. Once they do so, we'll have this fixed. For the time being, you could use amplify auth push to push your auth resources or use WSL as recommended by us for the time being.

@kaustavghosh06 I posted on the other issue too, but could you try beta 12 and see if it fixes this issue on Windows?

@mwarger We published a new version of the CLI to npm, version -> 0.1.32 with fixes for windows. Feel free to re-open the issue if the problem still persists.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeanpaulcozzatti picture jeanpaulcozzatti  Â·  3Comments

onlybakam picture onlybakam  Â·  3Comments

gabriel-wilkes picture gabriel-wilkes  Â·  3Comments

kangks picture kangks  Â·  3Comments

amlcodes picture amlcodes  Â·  3Comments