-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with running npm start - listening to default 8081 port #705
Comments
note that your |
Yup, I did that this morning too. Still not working unfortunately. |
Finally got it to work, plus the curl thing I couldn't do. I had to recomment out things and do a fresh restart since I think OSX was locking up everything. |
@frantic Should I send a PR adding a hint about the |
@frantic Sorry, I missed that. This project is progressing so fast, I should've looked there before ;) |
These threads helped me identify the problem:
#12
figuring out I needed to take steps in iOS app delegate:
#240
First I had to make sure I added the main.jsbundle to the project (the reference in the thread )
figuring out it was the 8081 port officiallyL
https://github.com/facebook/react-native/blob/master/packager/packager.js#L35
But I still kept getting the same problem and @mbrgm helped me through it.
After that I tried
sudo lsof -nP -iTCP:8081 -sTCP:LISTEN
So I wrote in $PID, typed in my admin password:
We located that on node this was the issue '3960'
kill 3960 and the sudo command above.
then I finally got the packager to run.
The text was updated successfully, but these errors were encountered: