Closed Pushplaybang closed 5 years ago
1 at the first, try to remove node_modules and yarn.lock or package-lock.json and do npm i or yarn 2 maybe u have some different version of react-navigation (not 57.8) or other dev dependencies
@Kirill-Cherkalov - thanks for coming back to me, updating babel deps seems to get it to bundle,
my current setup:
React Native Environment Info:
System:
OS: macOS 10.14.2
CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
Memory: 1.98 GB / 16.00 GB
Shell: 5.5.1 - /usr/local/bin/zsh
Binaries:
Node: 10.15.0 - ~/.nvm/versions/node/v10.15.0/bin/node
Yarn: 1.13.0 - /usr/local/bin/yarn
npm: 6.7.0 - ~/.nvm/versions/node/v10.15.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
IDEs:
Android Studio: 3.3 AI-182.5107.16.33.5264788
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.3 => 16.6.3
react-native: 0.57.8 => 0.57.8
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
updating the babel dependancies in this instance now allows it to run, but now the crash has move from pre launch to while trying to load in the simulator (same error on Android and iOS)
Application ReactNativeStarterKit has not been registered
stackoverflow seems to point to AppRegistry.RegisterComponent but I don't see this in the app?
https://stackoverflow.com/questions/38340360/react-native-application-has-not-been-registered-error
@Pushplaybang Sorry for late reply. Did you just clone the repo and tried to run? Didn't you upgrade any repo?
@Pushplaybang Please pull the master branch again. I just upgraded the packages to the latest versions.
@atoami - tried both just pulling and then upgrading various dependancies, eventually started fresh on my own, thanks anyway though.
Regards.
error:
the error is located at
ReactNativeBoilerplate/node_modules/@babel/core/lib/config/validation/options.js:113 throw new ReferenceError(unknownOptErr);
There are various references on stack oveflow. I'm currently experimenting with upgrading the babel dependancies