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
hi , Do you have any advice to solve this problem, friends?
`
error: Error: While trying to resolve module hoist-non-react-statics from file D:\xxx\xx\node_modules\react-redux\lib\components\connectAdvanced.js, the package D:\xx\xx\node_modules\hoist-non-react-statics\package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (D:\xx\xx\node_modules\hoist-non-react-statics\dist\hoist-non-react-statics.cjs.js. Indeed, none of these files exist:
`
hi , Do you have any advice to solve this problem, friends?
`
error: Error: While trying to resolve module
hoist-non-react-statics
from fileD:\xxx\xx\node_modules\react-redux\lib\components\connectAdvanced.js
, the packageD:\xx\xx\node_modules\hoist-non-react-statics\package.json
was successfully found. However, this package itself specifies amain
module field that could not be resolved (D:\xx\xx\node_modules\hoist-non-react-statics\dist\hoist-non-react-statics.cjs.js
. Indeed, none of these files exist:`
package.json:
{
"name": "xx",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint ."
},
"dependencies": {
"@react-native-community/art": "^1.2.0",
"@react-native-community/async-storage": "^1.12.1",
"@react-native-community/masked-view": "^0.1.11",
"@react-native-community/netinfo": "^7.1.7",
"@react-native-picker/picker": "^2.2.1",
"@react-navigation/native": "5.x",
"axios": "^0.26.0",
"jalali-moment": "^3.3.10",
"json-beautify": "^1.1.1",
"native-base": "^3.3.4",
"react": "17.0.2",
"react-native": "0.67.3",
"react-native-dialog-input": "^1.0.8",
"react-native-exit-app": "^1.1.0",
"react-native-gesture-handler": "^2.2.0",
"react-native-image-crop-picker": "^0.37.2",
"react-native-image-slider-banner": "^1.0.3",
"react-native-indicator": "^1.2.2",
"react-native-modal": "^13.0.0",
"react-native-safe-area-context": "^3.1.9",
"react-native-screens": "^3.10.2",
"react-native-slideshow": "^1.0.1",
"react-native-svg": "^12.1.0",
"react-native-svg-transformer": "^1.0.0",
"react-native-textinput-effects": "^0.6.2",
"react-native-toast-message": "^2.1.1",
"react-native-vector-icons": "^9.0.0",
"react-native-webview": "^11.17.0",
"react-navigation": "^4.4.4",
"react-navigation-stack": "^2.10.4",
"react-redux": "^7.2.2",
"redux": "^4.1.2",
"redux-persist": "^6.0.0",
"reselect": "^4.1.5",
"rn-modal-picker": "^0.3.2"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/runtime": "^7.17.2",
"@react-native-community/eslint-config": "^3.0.1",
"babel-jest": "^27.5.1",
"eslint": "^8.11.0",
"jest": "^27.5.1",
"metro-react-native-babel-preset": "^0.69.0",
"react-test-renderer": "17.0.2"
},
"jest": {
"preset": "react-native"
}
}
The text was updated successfully, but these errors were encountered: