question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

react-native upgrade with 0.31

See original GitHub issue

When 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:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

24reactions
ozikscommented, Aug 6, 2016

I had the same problem but I solved it:

  • remove rnpm-plugin-upgrade dev dependency in package.json
  • clean node_modules with npm prune
  • run react-native upgrade works fine 😃
0reactions
duzliangcommented, Nov 30, 2016

I solved it just tow steps:

1.remove rnpm-plugin-upgrade dev dependency in package.json 2.run react-native upgrade

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found