Amplify init command freezes after I select default editor: Visual Studio Code
See original GitHub issueNote: If your issue/bug is regarding the AWS Amplify Console service, please log it in the official AWS Amplify Console forum
Describe the bug
When I try initializing amplify in my Angular 7 project using the command amplify init
it starts up the process and asks me for my default editor. Once I select Visual Studio Code, the process freezes.
I’ve tried letting it run for hours but it doesn’t get past that screen.
Also tried downgrading from 1.8.2 to 1.7.5 but the same thing happens.
Also tried selecting other text editors but still no luck.
To Reproduce Steps to reproduce the behavior:
- Initialize new angular project
ng new appName
- Install @aws-amplify/cli
npm install @aws-amplify/cli
- Run
amplify configure
- Run
amplify init
- Select text editor
- See error
Expected behavior Was expecting it to initialize amplify and generate a aws-exports.js file
Screenshots
Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome
- Version 75.0.3770.142
Additional context
- Node version v10.16.0
- Npm version 6.9.0
- Angular CLI 7.2.4
- Angular 7.2.15
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
You were right, despite running npm uninstall, aws amplify did not uninstall.
I ran
which amplify
and it showed me where it was installed, so I went ahead and deleted all the associated files, ran the install command and it worked.Thanks for the assist.
I did so by running
npm uninstall -g @aws-amplify/cli
from an admin console. It ran successfully but amplify didn’t uninstall and the issue persists