-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Welcome to the powerline-rn wiki!
- While resolving module
react-native-vector-icons/Ionicons
, the Haste packagereact-native-vector-icons
was found. However, the moduleIonicons
could not be found within the package. Indeed, none of these files exist:
Solution: rm ./node_modules/react-native/local-cli/core/__fixtures__/files/package.json
To fix the long file name issue, I made some tweaks.
var folderPath = getBasePath(asset); var fileName = (folderPath + '/' + asset.name) .toLowerCase() .replace(/\//g, '_') // Encode folder structure in file name .replace(/([^a-z0-9_])/g, '') // Remove illegal chars .replace(/^assets_/, ''); // Remove "assets_" prefix if (fileName.length > 90) { fileName = fileName.substr(86); } return fileName;
- uncompiled PNG file passed as an argument. Must be compiled first into .flat file.. error: failed parsing overlays.
Add android.enableAapt2=false on gradle.properties
- error: Duplicate file. Original is here.
https://github.com/facebook/react-native/issues/5787#issuecomment-383407482
- Missing bundle file
react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
react-native run-android
- Regarding image issues, please try to remove them first and do npm start
- Deal with The name
react-native
was looked up in the Haste module map. It cannot be resolved ios build (ci Jenkins) in React native