Questions tagged [react-native-cli]

230 questions
6
votes
3 answers

React Native version check

I wanted to check the version of the react native I was using in my project when I used the command from my root folder : D:\Reactnative\Albums>npm view react-native version 0.56.0 The version was 0.56.0 which is not the version I have installed,…
Mayank Raj
  • 921
  • 2
  • 12
  • 23
5
votes
2 answers

Why does command 'react-native run-ios' build fail after upgrade to 0.63.3?

I just updated to RN v0.63.3. I was having issues with react-native run-ios on previous react-native version after changing the name of the app, and the project/schemes had different names, never got that issue solved, everyone said to just…
Jim
  • 1,988
  • 6
  • 34
  • 68
5
votes
2 answers

how to upgrade react-native-cli?

Check current react native CLI version react-native -v react-native-cli: 1.0.0 react-native: 0.61.5 I use the following commands to upgrade global react-native-cli verison npm uninstall -g react-native-cli npm install -g react-native-cli but now…
user2992029
  • 161
  • 1
  • 2
  • 6
5
votes
0 answers

react-native -cli installation error

I'm trying to install react-native-cli by using the following command: C:\WINDOWS\System32>npm install -g react-native -cli and I'm getting the following errors, can someone help on this matter? npm WARN deprecated gulp-util@3.0.8: gulp-util is…
5
votes
2 answers

SyntaxError: You can only use Class Properties when the 'classProperties' plugin is enabled

I am getting the following syntax error when I initialize an app using react-native init MyApp SyntaxError: /Users/MyAccount/RNProjects/app/node_modules/react-native/packager/react-packager/src/node-haste/index.js: You can only use Class…
UtkarshPramodGupta
  • 7,486
  • 7
  • 30
  • 54
4
votes
1 answer

Error: Redefinition of module 'fmt' & 'folly'

Im trying build my react native app with cli and this error log appear. Xcode builds are solid and no error occurs. Here is part of log: 2 errors generated. While building module 'Foundation' imported from /Users/omerkocer/tekvetek/ios/Pods/Target…
omkocer
  • 153
  • 1
  • 9
4
votes
2 answers

react native ios build fails with error - 'EXUpdates/EXUpdatesAppController.h' file not found

react native ios build fails with error 'EXUpdates/EXUpdatesAppController.h' file not found file used in AppDelegate.h #import #import <--- here #import…
4
votes
5 answers

EPERM: operation not permitted, chmod @react-native-community iOS

I am using React v16.8.6 and react-native v0.59.6. iOS. While typing react-native --version or anything prefix with react-native, it is showing the following error. internal/fs/utils.js:220 throw err; ^ Error: EPERM: operation not…
Dhevendhiran M
  • 994
  • 2
  • 12
  • 29
4
votes
2 answers

react-native init not working for react-native 0.57.1 on windows

I am using react-native-cli 2.0.1 and react-native 0.57.1 on windows 10. However, when I create a project with react-native init projectname and try to run it with react-native run-android I get this error: I tried the steps that it mentions…
Joel Jacobsen
  • 313
  • 1
  • 5
  • 15
4
votes
1 answer

react-native-video shows blank screen in my app without any error log

I am using react-native-cli and in my app, react-native-video doesn't work in my page. It shows blank space. I have already run react-native link command to link libraries and after I have run react-native run-android command but shows blank space…
Rajnikant Kakadiya
  • 2,185
  • 1
  • 23
  • 30
4
votes
0 answers

Error calling JSTimersExecution.callTimers in react-native

I am stuck with this error type in react-native. please find the attached screenshot. Please guide me to solve this error. I am using react-native-cli: 2.0.1 react-native: 0.44.0
chetan
  • 953
  • 3
  • 12
  • 20
3
votes
4 answers

react-native android project not found error

I am trying to create a react-native project using react-native cli. Command I used to create project npx react-native init test After this if I try to run this app by cd test & npx react-native run-android But I get this error: error Android…
3
votes
1 answer

React Native app fails to run after installing react-native-iap

I have an otherwise working React-Native app but need to include in-app purchases for it to be accepted on the app store. After a little Googling, it looks like react-native-iap is pretty much the only option. First Error After following the…
3
votes
0 answers

React Native error Task :app:checkDebugAarMetadata | Execution failed for task ':app:checkDebugAarMetadata'

[Whenever I enter the command npx react-native run-android, I get the following: Task :app:checkDebugAarMetadata FAILED Build failed I have never gotten my app to build and run successfully on my emulator I am using gradle 7.1.1 and the JDK 16 This…
3
votes
1 answer

Change console.log timestamp in react-native or nodejs apps

After recent updates the log format in the console on react-native and maybe node apps, has become like: This results after doing a simple console.log() call. In previous versions the timestamp format was different, and a lot shorter. Is there a…
Odys
  • 8,951
  • 10
  • 69
  • 111
1
2
3
15 16