Metro from RN 0.60.0 warns that rnpm config is deprecated and will stop working in the next release
See original GitHub issueThis shows up when running the Metro Bundler from React Native v0.60.0:
warn The following packages use deprecated "rnpm" config that will stop working from next release:
- react-native-vector-icons: https://github.com/oblador/react-native-vector-icons
See https://github.com/react-native-community/cli/blob/master/docs/configuration.md#migration-guide
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:10
Top Results From Across the Web
The following packages use deprecated "rnpm" config that will ...
To help the next one that has this problem. Run the command below to remove the package with "rnpm": yarn remove react-native-update-gradle.
Read more >Versions · React Native
React Native versions. Open source React Native releases follow a release train that is coordinated on GitHub through the react-native-releases repository.
Read more >execution failed for task ':react-native-gesture-handler ...
Next. Answered on Jul 8, 2019. It cause this error for the RN 0.60 . You can solve this by following,. npm i...
Read more >react-native | Yarn - Package Manager
Learn once, write anywhere: Build mobile apps with React. React Native is released under the MIT license. Current CircleCI build status. Current npm...
Read more >react-native-screens - npm
Native navigation primitives for your React Native app.. Latest version: 3.18.2, last published: 2 months ago.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This worked for me on a upgraded project and on a brand new RN 0.60.0
Remove the rnpm line from package.json
For IOS add this to ios/projectname/Info.plist
For Android add this line to android/app/build.gradle
Hello community!
I just solved this problem in RN 0.60 for the moment in Android, there are a series of steps that should be followed, the annex.
Update the dependency to the last update so far:
It is important the “–save” in this new version of react-native since for some reason when running the “npx jetify” command it finds it that way
-If they do not have the jetify install it is necessary, “npm i jetifier”
project.ext.vectoricons = [ iconFontNames: [ ‘FontAwesome.ttf’, ‘FontAwesome5.ttf’ ] // Name of the font files you want to copy ]
apply from: “…/…/node_modules/react-native-vector-icons/fonts.gradle”
I hope it serves you. Greetings.