aws-amplify / amplify-cli

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

listen EADDRINUSE: address already in use 0.0.0.0:4242 #13832

Open robotica-labs opened 3 months ago

robotica-labs commented 3 months ago

Amplify CLI Version

12.2.3

Question

Project Identifier: f58094de3350bb6cad931a774218560a

Terminal output: amplify pull --appId dtsfmn2bsvit4 --envName dev Opening link: https://us-east-1.admin.amplifyapp.com/admin/dtsfmn2bsvit4/dev/verify/?loginVersion=1 ⠋ Confirm login in the browser or manually paste in your CLI login key: 🛑 listen EADDRINUSE: address already in use 0.0.0.0:4242

Resolution: Please report this issue at https://github.com/aws-amplify/amplify-cli/issues and include the project identifier from: 'amplify diagnose --send-report' ⠙ Confirm login in the browser or manually paste in your CLI login key:

Session Identifier: 8c6486e3-9e4d-427a-bb33-a5aff3b06320

report.zip

ykethan commented 3 months ago

Hey @robotica-labs, does terminating the port and re-running the pull mitigate the issue?

Marking this as feature-request for improvements on this studio login flow to switch to a different port if its already in use.