question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Amplify init command freezes after I select default editor: Visual Studio Code

See original GitHub issue

Note: 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:

  1. Initialize new angular project ng new appName
  2. Install @aws-amplify/cli npm install @aws-amplify/cli
  3. Run amplify configure
  4. Run amplify init
  5. Select text editor
  6. See error

Expected behavior Was expecting it to initialize amplify and generate a aws-exports.js file

Screenshots image

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:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
GIOkaforcommented, Jul 23, 2019

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.

1reaction
GIOkaforcommented, Jul 23, 2019

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

amplify init error "unable to get local issuer certificate" even ...
I am trying to initialize the amplify but it is failling due to network error. Below is command stack. amplify init Note: It...
Read more >
C# basics — Godot Engine (stable) documentation in English
Under Mono, click on Editor, and select your external editor of choice. Godot currently supports the following external editors: Visual Studio 2019. Visual...
Read more >
Using Serverless Framework with the Amplify Client Library
Choose your default editor: Visual Studio Code ? Choose the type of app that you're building javascript. Please tell us about your project...
Read more >
AWS Amplify with Vue not able to configure - Laracasts
Use 'amplify init' in the root of your app directory to initialize your project with ... at Command.run ... Choose your default editor:...
Read more >
Initializing the gcloud CLI | Google Cloud CLI Documentation
Initialize the gcloud CLI · Run gcloud init : gcloud init · Create or select a configuration if prompted. · Complete the authorization...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found