zmnv/react-native-semver-update

TypeError: Cannot read property '2' of null

Chasty opened this issue · 3 comments

I'm having this issue when I try to run this command

rnsemup

zmnv commented

@Chasty Hello! Maybe I found the same bug as you get.

Can you check the project versions in iOS and Android?
Please change version format :
1.0 -> 1.0.0

and try again.

zmnv commented

Reproduced this bug!

  1. npx react-native init AwesomeProject
  2. cd AwesomeProject
  3. rnsemup

gets:

(node:7920) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '2' of null

@zmnv Thank you for your fast response, it was that, the command is running correct now.