react-native upgrade with 0.31
See original GitHub issueWhen launching react-native upgrade
with the last version (0.31), it stops immediately with this error:
rnpm-upgrade ERR! ERRPACKAGEJSON No package found. Are you sure it's a React Native project?
config.getProjectConfig is not a function
We tried with different node versions but always have this error.
Anyone has an idea? cc @grabbou
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Upgrading to new versions - React Native
Upgrading to new versions of React Native will give you access to more APIs, views, developer tools and other goodies. Upgrading requires a ......
Read more >react native update to 0.31.0 RCTNetwork error - Stack Overflow
I update react-native to 0.31.0, redbox as follow: enter image description here. After remove the fetch method in my project, the error box ......
Read more >0.31.1 - react-native-maps - npm
React Native Mapview component for iOS + Android. Latest version: 1.3.2, last published: 3 months ago. Start using react-native-maps in your ...
Read more >Realm: Create reactive mobile apps in a fraction of the time
React Native 0.31.0 and later is supported. ... this will succeed and update the Realm to the new schema Realm.open({schema: [UpdatedPersonSchema], ...
Read more >Easier React Native upgrades with rn-diff | by Nicolas Cuillery
The upgrading process ... First of all, React Native is upgraded at a fast pace: one minor release every 2 or 3 weeks....
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 Free
Top 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
I had the same problem but I solved it:
rnpm-plugin-upgrade
dev dependency inpackage.json
node_modules
withnpm prune
react-native upgrade
works fine 😃I solved it just tow steps:
1.remove rnpm-plugin-upgrade dev dependency in package.json 2.run react-native upgrade