zmnv / react-native-semver-update

Automaticly updates a project version and build number for react-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: Cannot read property '2' of null

Chasty opened this issue · comments

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

rnsemup

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.

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.