Skip to content
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

Does not run on my device using expo #78

Open
jsiddharth opened this issue May 4, 2021 · 8 comments
Open

Does not run on my device using expo #78

jsiddharth opened this issue May 4, 2021 · 8 comments

Comments

@jsiddharth
Copy link

jsiddharth commented May 4, 2021

I had to run tons of command and fixes to get it working on expo (ubuntu).

//Init expo
sudo npm install expo-cli --global

// Add Expo to existing project

sudo npm add expo --force
sudo npm audit fix --force
//Upgrade SDK to 41
sudo npm install --global yarn --force
sudo npm install --global yarn

//Upgrade to 41 does not work? (/usr/lib/node_modules/expo-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13)

sudo npm i -g expo-cli
sudo expo update 33.0.0 // trying 33 first

Also had to add a expo component to my app.json

{
  "name": "ReactNativeStarter",
  "displayName": "ReactNativeStarter",
  "expo": {
    "name": "My app",
    "slug": "ReactNativeStarter"
  }
}

Finally I am stuck on some dependent folder that does not exist.

react-native-starter-master/node_modules/react-native/Libraries/Components/TextInput/TextInputState.js
Module not found: Can't resolve '../../Utilities/Platform' in 'react-native-starter-master/node_modules/react-native/Libraries/Components/TextInput'

@NikhilHulle
Copy link

How did you eventually get it to work?

@jsiddharth
Copy link
Author

I did not, I was stuck here. This forum did not offer any support too. Sad.

@jsiddharth
Copy link
Author

I switched to React, and realized that node latest version is not stable. Hence on react too I default to older versions. This is something I can try with react native, older versions of "node".

@jsiddharth
Copy link
Author

Check out my answer for react here

@Mustafa-Rasheed
Copy link

same still facing this issue after re-install the node.js.
does anybody know how to run an android device any command?

@pmartini
Copy link

pmartini commented Jan 11, 2022

the only possible way to run it on Android is finding old apk version of ExpoGo somewhere. It says that app is using Expo v40 which is not compatible with current ExpoGo client on Android.

@FakharKhan110
Copy link

It is not working for run android command any suggestions ?

@Tararan
Copy link

Tararan commented Jan 16, 2023

Did anyone here manage to get it up and running?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants