-7

I built the app in the Emulator. but the error i get is very strange: enter image description here

Matthijs
  • 2,483
  • 5
  • 22
  • 33
Ladi Ora
  • 1
  • 5
  • 2
    Unfortunately, we don't know what you want, what your environment looks like, etc... Please ask your question according to https://stackoverflow.com/help/how-to-ask – Matthijs Dec 15 '18 at 09:12
  • Have you followed the steps suggested within that error message: *"clear the watchman and packages caches"*? Please explain what you have tried and include the relevant source code, thank you. – NewToJS Dec 15 '18 at 09:21
  • @Matthijs did you see the pic i sent? i don't know how to explain more clearly?? javascript version is 0.55 . native version is 0.57.. i want to update javascript so it matches the native version – Ladi Ora Dec 15 '18 at 12:10
  • @LadiOra We'd like to know in what emulator you are working and some background information. However, your question seems to be a duplicate of https://stackoverflow.com/questions/47763824/react-native-version-mismatch – Matthijs Dec 15 '18 at 12:12
  • @Matthijs Emulator:GenyMotion node error: error: bundling failed: Error: Plugin/Preset files are not allowed to export objects, only functions. In D:\ParsaApp\ParsaApp\node_modules\babel-preset-react-native-stage-0\index.js – Ladi Ora Dec 15 '18 at 12:20
  • Please try to solve your error with the related question that I mentioned in my previous comment. If that doesn't solve your problem, please *update* your question with possible solutions you tried. – Matthijs Dec 15 '18 at 12:21
  • @Matthijs i tries ALL of the solutions in that post you mentioned but NOTHING works! :(( – Ladi Ora Dec 15 '18 at 13:53
  • Please update your question with information about **what** you tried and tell us what goes wrong while you did that. – Matthijs Dec 15 '18 at 14:00

1 Answers1

0

Ok I solved my problem. there were multiple JDK and JRE versions installed on my PC. i deleted the older JDKs and java versions and now there are no issues anymore...

Ladi Ora
  • 1
  • 5