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?
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?
2
Answers
install ‘@react-native/normalize-color’ using command line
npm i @react-native/normalize-color
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’.