Closed
Labels
StaleThere has been a lack of activity on this issue and it may be closed soon.
Description
Is this a bug report?
Yes
Have you read the Bugs section of the Contributing to React Native Guide?
Yes
Environment
react-native -v: 0.45.1node -v: v8.1.4npm -v: 5.3.0yarn --version(if you use Yarn): 0.27.5
Then, specify:
- Target Platform: iOS, Android
- Development Operating System: Linux (Arch Linux), 4.12.1
- Build tools:
Steps to Reproduce
(Write your steps here:)
- Create new app using
create-react-native-app - Run
yarn start
Expected Behavior
Be able to view the app on my phone by scanning the QR code in Expo.
Actual Behavior
Outputs warning:
Warning: You are using npm version 5.3.0. There may be bugs in this version, use it at your own risk. We recommend version 4.6.1.
but seems to work fine otherwise. When opening the link in Expo I just get the error that something went wrong. In the log it states:
Uncaught Error: Packager is not running at http://XXX.XXX.X.X:19001
Reproducible Demo
Create an app using create-react-native-app.
Metadata
Metadata
Assignees
Labels
StaleThere has been a lack of activity on this issue and it may be closed soon.
Activity
zibs commentedon Jul 16, 2017
Have you tried downgrading your npm to the recommended version of 4.6.1? I think that warning message may be there for a reason.
If it's not related to npm, this might be more of an expo issue, you could try joining their community slack channel or their forums: https://forums.expo.io/ for help there.
carloabelli commentedon Jul 16, 2017
Downgraded to 4.6.1 and the warning disappeared but the other behavior did not change. I will try asking on the expo channels.
mixelpixel commentedon Sep 9, 2017
Hello, have you resolved this issue? I just tried downgrading to 4.6.1 using the command:
npm install npm@4.6.1from within the RN project directory (thennpm iafter confirming the package.json file specified npm 4.6.1). I still get the same warning from Expo IDE and when I querynpm -versionfrom within the RN project directory, I get 5.3.0.What am I doing wrong? Please advise - thank you 😄
Mythrim commentedon Oct 18, 2017
I am facing the same issue even after downgrading the npm version to 4.6.1. Can You please help me with that.
nikki93 commentedon Oct 18, 2017
Can you remove
node_modules/directory and reinstall with npm? There may be some stale packages.stale commentedon Dec 17, 2017
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.
Dsantacruz commentedon Jan 18, 2018
the solution for me was: set REACT_NATIVE_PACKAGER_HOSTNAME=my-custom-ip-address , then disable others connection differences wifi, good luck