Reputation: 51
I just wanted to try react-native.However, after run the script "npm run ios",I got this error in the Xcode's simulator.
react-native version: v0.66.0,
platform: Mac OS Big Sur 11.6.2,
How can I fix this?
Upvotes: 5
Views: 8921
Reputation: 480
Nothing worked for me, but these steps.
Upvotes: 0
Reputation: 101
Try installing '@react-native/[email protected]' if you are using 'react-native-maps'. This worked for me. It's probably because we may be using an older version of 'react-native' which included an older version of 'normalize-color'.
Upvotes: 10
Reputation: 131
install '@react-native/normalize-color' using command line npm i @react-native/normalize-color
Upvotes: 13