You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like you need to update your react dependency to a version of react that is accepted by both libs. native 0.41, uses react 15.4.x, it might be worth upgrading, then npm install --save [email protected]
npm ERR! code ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! errno ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! request to https://registry.npmjs.org/react-native-splash-screen failed, reason: Hostname/IP does not match certificate's altnames: Host: registry.npmjs.org. is not in the cert's altnames: DNS:a.sni.fastly.net, DNS:a.sni.global-ssl.fastly.net
npm ERR! A complete log of this run can be found in:
I am getting the above error while installing this module. . Is there any solution for this error?
This is when my package.json file has
{
"name": "Project",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "react-native start"
},
"dependencies": {
"react": "^15.4.0",
"react-native": "^0.40.0",
"react-native-splash-screen": "^2.0.0"
}
}
Output:
$ npm i react-native-splash-screen --save
[email protected] /Users/splashScreen
├── UNMET PEER DEPENDENCY [email protected]
└── [email protected]
npm WARN [email protected] requires a peer of react@~15.4.0-rc.4 but none was installed.
When I change my package.json file's react version to 15.4.0 the output I get is
$ npm i react-native-splash-screen --save
[email protected] /splashScreen
├── UNMET PEER DEPENDENCY [email protected]
└── [email protected]
npm WARN [email protected] requires a peer of react@~15.4.0-rc.4 but none was installed.
Can any one help me for above problem ?
The text was updated successfully, but these errors were encountered: