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.

Inform user they've specified a HOST

See original GitHub issue

OS

macOS 10.13.2

Node

node -v: 9.3.0 npm -v: 5.6.0 yarn -v: 1.3.2

output:

$ yarn start                                                                                                                                                                                       06:51:09
yarn run v1.3.2
warning ../../../package.json: No license field
$ react-scripts start
Could not find an open port at Giorgios-MacBook-Pro.
Network error message: listen EADDRNOTAVAIL 54.72.52.58

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

rebooted many times, updated node and npm, updated yarn and create-react-app, but this only seems to works with sudo.

i also tried to reinstall node with nvm, after stumbling against many reports that suggested this was the cause of my issue.

this is probably a stupid bug, but it’s driving me crazy since yesterday, please help.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
Timercommented, Jan 9, 2018

You’ve most likely set your HOST in your .bash_profile erroneously.

Please remove this entry or unset HOST before running npm start.

sudo scutil --set HostName change-hostname-like-this

2reactions
raerpocommented, Jan 9, 2018

could be that something else is using the 3000 port? if you run lsof -n -i:3000 | grep LISTEN should be empty

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error 'Failed to send request' or unable to login with Data Loader
Users who attempt to connect to Salesforce via Data Loader login may receive an error: Failed to send request. This may be resolved...
Read more >
Palo Alto: HIP Features - VPN, Host-Info and Firewall Security
The GlobalProtect Host Information Profile (HIP) feature can be used to collect information about the security status of the endpoints ...
Read more >
Provision Shared VPC - Google Cloud
IAM principals are granted the Network User role for the entire host project or certain subnets in the host project, based on the...
Read more >
Host Definition — Shinken Manual 2.4 documentation
This directive is used to define an alternate name that should be displayed in the web interface for this host. If not specified,...
Read more >
DNS attributes for your VPC - Amazon Virtual Private Cloud
For more information, see Setting up a VPC to host clusters in the Amazon EMR ... If you use custom DNS domain names...
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