I have attached a screenshot below, I am seeing this error when trying to install the below dependency on my app. The dependencies like react-dom, @callstack/react-theme-provider, react-native-paper, @floating-ui/react-native, styled-components are not actually installed in my package dependency. If I am deleting package-lock json and then try to add the package in package json & hit npm I, it works.
"dependencies": {
"@intercom/intercom-react-native": "^4.0.1",
"@react-navigation/bottom-tabs": "^6.6.1",
"@react-navigation/material-bottom-tabs": "^6.2.29",
"@react-navigation/native": "^6.1.18",
"@react-navigation/stack": "^6.4.1",
"@redux-devtools/extension": "^3.3.0",
"react": "18.2.0",
"react-native": "0.74.4",
"react-native-spotlight-tour": "^3.0.1",
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/babel-preset": "0.74.86",
"@react-native/eslint-config": "0.74.86",
"@react-native/metro-config": "0.74.86",
"@react-native/typescript-config": "0.74.86",
"@types/react": "^18.2.6",
"@types/react-test-renderer": "^18.0.0",
"@react-native-community/eslint-config": "^3.2.0",
"babel-jest": "^29.6.3",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"prettier": "2.8.8",
"react-test-renderer": "18.2.0",
"typescript": "5.0.4"
},