junedomingo / react-native-rename

Rename react-native app with just one command
MIT License
2.63k stars 261 forks source link

Unexpected token '?' #169

Closed talha7t closed 1 year ago

talha7t commented 1 year ago

I get the error

Unexpected token '?'

when running npx react-native-rename "App name" -b "bundleId". I have run the command both locally and globally, but I still get this error.

node version: 12.22.12 npm version: 6.14.16 react-native version: 0.68.1 react-native-rename version: 3.2.0

junedomingo commented 1 year ago

Hi @talha7t , you need to use node version >= 16 for now