When I run "yarn", I faced following error.
npm ERR! code E404
npm ERR! 404 Not Found: har-validator@5.1.2
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jacky/.npm/_logs/2018-12-06T14_41_53_892Z-debug.log
so I removed yarn.lock, package-lock.json
and open the CvCameraPreview.xcworkspace file on xcode.
and then run "pod install" in ios folder.
I got this error
[!] CocoaPods could not find compatible versions for pod "RNOpencv3/CvCamera":
In snapshot (Podfile.lock):
RNOpencv3/CvCamera (from `../node_modules/react-native-opencv3/ios/RNOpencv3.podspec`)
In Podfile:
RNOpencv3/CvCamera (from `../node_modules/react-native-opencv3/ios/RNOpencv3.podspec`)
None of your spec sources contain a spec satisfying the dependency: `RNOpencv3/CvCamera (from `../node_modules/react-native-opencv3/ios/RNOpencv3.podspec`)`.
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.
please help me to run your example
Thank you.
When I run "yarn", I faced following error.
so I removed yarn.lock, package-lock.json
and open the CvCameraPreview.xcworkspace file on xcode.
and then run "pod install" in ios folder.
I got this error
please help me to run your example
Thank you.