aws-amplify / amplify-cli

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.
Apache License 2.0
2.82k stars 820 forks source link

peer dependency on `inquirer` missing #363

Closed gjmveloso closed 5 years ago

gjmveloso commented 6 years ago

Describe the bug @aws-amplify/cli@0.1.29 installation is warning about a peer dependency that is missing:

npm WARN inquirer-autocomplete-prompt@1.0.1 requires a peer of inquirer@^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.

Which makes `npm list -g to throw an error message:

npm ERR! peer dep missing: inquirer@^5.0.0 || ^6.0.0, required by inquirer-autocomplete-prompt@1.0.1

To Reproduce Steps to reproduce the behavior:

  1. Install @aws-amplify/cli by `npm install -g @aws-amplify/cli
  2. See the warning message after the installation

Expected behavior aws-amplify/cli should be able to install itself without generating any warning and/or error messages.

Desktop (please complete the following information):

NYCSwan commented 6 years ago

Any luck with this issue? I've run into the same problem. It won't display the 'type of app' or let me configure amplify. OS: mac 10.13.6 node: 11.0.0 yarn: 1.10.1 amplify/cli: 0.1.27, 0.1.29 amplify-react-native: 2.0.8 amplify: 1.1.8

I got the same warning using 1.29. When I rolled back to 1.27 I did not get the error but I still could not get the app init'd. Tried deleting node_mods, clearing yarn cache, xcode cache

kaustavghosh06 commented 6 years ago

@NYCSwan Could you please provide the error stack?

kaustavghosh06 commented 5 years ago

@gjmveloso I don't see this issue with the latest version of the CLI (0.1.38). Please feel free to re-open or comment on this thread if you're still seeing this issue.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.