Answers for "Could not resolve project :react-native-camera."

2

Could not resolve project :react-native-camera.Required by:

# Please insert the following line in android/app/build.gradle inside defaultConfig block:

android {
  ...
  defaultConfig {
    ...
    missingDimensionStrategy 'react-native-camera', 'general' <-- insert this line
  }
}
Posted by: Guest on January-13-2021
0

could not resolve module fs react native

npm install rn-nodeify

Then in package.json file, add the following line in "scripts" to specify which modules you want to include in your RN project. For example, I used fs, crypto and https, and the line goes

"postinstall": "node_modules/.bin/rn-nodeify --install crypto,fs,https --hack"
Posted by: Guest on October-01-2020

Code answers related to "Could not resolve project :react-native-camera."

Browse Popular Code Answers by Language