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.

I can't test my app in iOS with Expo

See original GitHub issue

Hi, I have some problems when i try to run my app on phones that have iOS, but in Android don’t have this problem. I’m coding in Sublime Text, not in XDE and executing my project in terminal, with commands ‘npm start’ and reading the QR Code. I’m coding in Windows 10.

The erro that appears is

"C:/Users/adria/Desktop/App/src/Imgs/image.png: Cannot find module ‘C:/Users/adria/Desktop/App/node_moduless/expo/tools/hashAssetFiles’.

In the first time i did think that image is with wrong name or wrong directory, and i go to the code and certify that is correctly. So, i resolve to try in my Android and for my surprise, work correctly.

My package.json

{ “name”: “App”, “version”: “0.1.0”, “private”: true, “devDependencies”: { “react-native-scripts”: “1.11.1”, “jest-expo”: “25.0.0”, “react-test-renderer”: “16.2.0” }, “main”: “./node_modules/react-native-scripts/build/bin/crna-entry.js”, “scripts”: { “start”: “react-native-scripts start”, “eject”: “react-native-scripts eject”, “android”: “react-native-scripts android”, “ios”: “react-native-scripts ios”, “test”: “node node_modules/jest/bin/jest.js” }, “jest”: { “preset”: “jest-expo” }, “dependencies”: { “expo”: “^25.0.0”, “react”: “16.2.0”, “react-native”: “0.52.0”, “react-navigation”: “^1.5.8” } }

I try to remove the image from my project and try run again, and have the same problem but with another image, from react-navigation

C:\Users\adria\Desktop\App\node_modules\react-navigation\src\views\assets\back-icon.png

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
mssngrcommented, Apr 3, 2018

If you’re using the exp cli like I am, you’ll use exp start like normal, then press s when the dev server is booted up and type in your phone number or email so Expo can send a link to your project directly to your phone.

2reactions
revskill10commented, Apr 2, 2019

Facebook product is well-known for stability. Now this Expo stuffs are nearly impossible to get working. So my conclusion is that, Facebook doesn’t use Expo for its product. So why React Native recommends using a thing that’s they’re not sure if it’s usable or stable enough ?

PS: React Native team should seriously learn from React team on this facet. It’s not fun.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How Run and Test React Native / Expo On Your Apple iOS ...
6. In iOS Simulator go to Hardward > Shake Gesture to see Expo Debug settings and select Debug Remote JS. This should attach...
Read more >
Run on device - Expo Documentation
Running a project in Expo Go · On your iPhone or iPad, open the default Apple "Camera" app and scan the QR code...
Read more >
React Native: How To Publish An Expo App To TestFlight + ...
While still in App Store Connect, click on your App and navigate to the TestFlight tab. Choose if you want to add External...
Read more >
React Native Expo Managed App doesn't launch/start on iOS ...
Start your app by using expo start command. Type i and a or click on Run on iOS simulator and Run on Android...
Read more >
How can i test an ios app built with expo without macbook?
You'll need to setup a provisioning profile using expo and an apple developer account to register iOS devices to allow the app to...
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