Questions tagged [react-native-cli]

230 questions
0
votes
0 answers

xcode becomes unresponsive when opening react-native init file

whenever I try to open app created with react-native with xcode, xcode becomes unresponsive. I tried to download xcode-beta and try, and create a new react-native init in other places, but whenever I open them, xcode becomes unresponsive and blanks…
Seongmin Choo
  • 1,653
  • 3
  • 10
  • 14
0
votes
2 answers

touchableopacity is not working when offline

touchableopacity is not working when offline, sometimes it take really slow like take a few minute to run onPress this.example()} style={{padding: 10, justifyContent: 'center', flexDirection: 'row',…
0
votes
2 answers

React native init project is very large in size

Here is the versions I am using The problem is the project I created using react-native init AddisMereja is of size 20MB. It does not have anything.
bereket gebredingle
  • 12,064
  • 3
  • 36
  • 47
0
votes
1 answer

React Native Configuration Return Error 500, Followed React Native Docs

I have followed all instruction as in docs, but couldn't start my first react native app.Node -v v8.11.4, npm 4.6.1, react-native-cli 2.0.1 See Error Image Here: Thanks in advance!
0
votes
2 answers

React Native - Can not create new project via react-native-cli when react-native version is > 0.55

I am trying to create new project via react native project via react-native-cli react-native init ProjectName and get the following error error Found incompatible module info Visit https://yarnpkg.com/en/docs/cli/add for documentation about…
shah
  • 1,163
  • 2
  • 19
  • 40
0
votes
2 answers

react-native-cli - Fails to run the android project

I'm trying to run a React Native project in my Ubuntu 16.04 PC using the react-native run-android command. However it gives me the following error. The strange thing is that when I create and run an Android project using the Android Studio for the…
gayashanbc
  • 937
  • 1
  • 15
  • 30
0
votes
0 answers

React-native-cli builds failing after installing a package, gradle proxy issue?

I am attempting to install react-native-ble-manager into my native (android focused) application. After npm install --save react-native-ble-manager and running react-native link, I get outputs telling me that there was a successful link as…
0
votes
2 answers

Sourcemaps not working in React Native Debugger

Im having problems when trying to debug React Native in the react native debugger standalone app on a Mac. The project is started via the packager and run in the Android Simulator. I cant access any sourcemaps, only the bundled code. The thing is…
Andreas
  • 1,421
  • 3
  • 16
  • 32
0
votes
1 answer

react-native link fails on all modules

I posted this to react-native issues: Environment Environment: OS: macOS Sierra 10.12.6 Node: 7.10.0 Yarn: 1.3.2 npm: 5.6.0 Watchman: 4.7.0 Xcode: Xcode 8.0 Build version 8A218a Android Studio: 1.5 AI-141.2456560 Packages: (wanted =>…
Christopher Reid
  • 4,318
  • 3
  • 35
  • 74
0
votes
1 answer

The command 'react-native run-android' shows up errors although there is an emulator running (or device connected)

I started a react-native project with 'react-native init' and was created without errors, however, when I used the command 'react-native run-android' in the project directory this is what I got: throw er ^ Error: EIO: i/o error,…
0
votes
1 answer

Can't install using npm install -g react-native-cli

Trying to install react-native-cli with npm install -g react-native-cli results in this error: npm ERR! Darwin 16.7.0 npm ERR! argv "/Users/kamleshtilwani/.nvm/versions/node/v8.6.0/bin/node" "/Users/kamleshtilwani/.nvm/versions/node/v8.6.0/bin/npm"…
Kamlesh Tilwani
  • 59
  • 1
  • 2
  • 16
0
votes
2 answers

Is there an easy way to change the default port when i type in react-native run-android?

My steps to change the default port: react-native start --port 9999. react-native run-android. change the port in the app. Is there an easy way?
Arfa Wong
  • 11
  • 1
0
votes
0 answers

Android emulator error message, running React Native demo from react-native-cli

ERROR: SyntaxError: Strict mode does not allow function declarations in a lexically nested statement. (http://10.0.2.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:24821) system: win 10 x64 android studio 2.2.3 AVC …
0
votes
1 answer

react native in terminal suddenly not working

I was using it fine but it suddenly became unresponsive. I've tried react-native start, init, and run-ios its just stuck
Damathryx
  • 2,706
  • 3
  • 25
  • 48
-1
votes
0 answers

why im not able to install react-native app react native cli

code: 'MODULE_NOT_FOUND', requireStack: [ 'C:\\Users\\Shekhar singh\\node_modules\\source-map\\source-map.js', 'C:\\Users\\Shekhar singh\\node_modules\\metro-source-map\\src\\composeSourceMaps.js', 'C:\\Users\\Shekhar…
1 2 3
15
16