We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using the react-native-camera/RNCamera component in reagent. I import it like so:
(def camera (js/require "react-native-camera/RNCamera"))
and use it like so:
[view [camera]]
But I get the following error:
Failed to load bundle(http://localhost:8081/index.ios.bundle?platform=ios&dev=true&minify=false) with error:(Unable to resolve module `react-native-camera/RNCamera` from `/Users/prikshetsharma/Desktop/vendo/index.ios.js`: Module `react-native-camera/RNCamera` does not exist in the Haste module map This might be related to https://github.com/facebook/react-native/issues/4968 To resolve try the following: 1. Clear watchman watches: `watchman watch-del-all`. 2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`. 3. Reset Metro Bundler cache: `rm -rf /tmp/metro-bundler-cache-*` or `npm start -- --reset-cache`. 4. Remove haste cache: `rm -rf /tmp/haste-map-react-native-packager-*`. (null)) __38-[RCTCxxBridge loadSource:onProgress:]_block_invoke.213 RCTCxxBridge.mm:414 invocation function for block in attemptAsynchronousLoadOfBundleAtURL(NSURL*, void (RCTLoadingProgress*) block_pointer, void (NSError*, RCTSource*) block_pointer) __80-[RCTMultipartDataTask URLSession:streamTask:didBecomeInputStream:outputStream:]_block_invoke -[RCTMultipartStreamReader emitChunk:headers:callback:done:] -[RCTMultipartStreamReader readAllPartsWithCompletionCallback:progressCallback:] -[RCTMultipartDataTask URLSession:streamTask:didBecomeInputStream:outputStream:] _CFNetworkHTTPConnectionCacheSetLimit __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ -[NSBlockOperation main] __NSOPERATION_IS_INVOKING_MAIN__ -[NSOperation start] __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ __NSOQSchedule_f _dispatch_block_async_invoke2 _dispatch_client_callout _dispatch_continuation_pop _dispatch_async_redirect_invoke _dispatch_root_queue_drain _dispatch_worker_thread2 _pthread_wqthread start_wqthread
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using the react-native-camera/RNCamera component in reagent.
I import it like so:
and use it like so:
But I get the following error:
The text was updated successfully, but these errors were encountered: