apiko-dev / GitterMobile

Unofficial Gitter.im (chat for GitHub) client for iOS and Android. [build with react-native]
https://github.com/JSSolutions/GitterMobile
Other
600 stars 163 forks source link

Error: Unable to resolve module `ListViewDataSource` from `libs\ListView\ExtendedListView.js` #120

Open bunyaminmrcn opened 4 years ago

bunyaminmrcn commented 4 years ago

Hi, firstly cloned the repo and updated with new packages i got this error and no package found in npm registry

1910-002-rn-gitter

terrysahaidak commented 4 years ago

Hi, what exactly did you update?

bunyaminmrcn commented 4 years ago

Just new project created and installed the dependencies which listed in package.json

terrysahaidak commented 4 years ago

Can you share your package json?

Unfortunately, we haven't updated this project to support latest versions of React Native, so there are lots of outdated packages which may not work with new RN.

bunyaminmrcn commented 4 years ago
{
  "name": "gitterapp",
  "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 .",
    "postinstall": "bash fix-metro-config.sh"
  },
  "dependencies": {
    "lodash": "^4.17.15",
    "moment": "^2.24.0",
    "prop-types": "^15.7.2",
    "react": "16.9.0",
    "react-native": "0.61.4",
    "react-native-device-info": "^5.3.0",
    "react-native-dialogs": "^1.1.0",
    "react-native-drawer-layout": "^2.0.0",
    "react-native-fetch-blob": "^0.10.8",
    "react-native-gesture-handler": "^1.5.0",
    "react-native-invertible-scroll-view": "^2.0.0",
    "react-native-navigation": "^3.5.1",
    "react-native-parsed-text": "^0.0.21",
    "react-native-reanimated": "^1.4.0",
    "react-native-scrollable-tab-view": "^1.0.0",
    "react-native-share": "^2.0.0",
    "react-native-transformable-image": "^0.0.18",
    "react-native-vector-icons": "^6.6.0",
    "react-redux": "^7.1.3",
    "redux": "^4.0.4",
    "redux-logger": "^3.0.6",
    "redux-thunk": "^2.3.0",
    "remote-redux-devtools": "^0.5.16"
  },
  "devDependencies": {
    "@babel/core": "^7.7.2",
    "@babel/runtime": "^7.7.2",
    "@react-native-community/eslint-config": "^0.0.5",
    "babel-jest": "^24.9.0",
    "eslint": "^6.6.0",
    "jest": "^24.9.0",
    "metro-react-native-babel-preset": "^0.57.0",
    "react-test-renderer": "16.9.0"
  },
  "jest": {
    "preset": "react-native"
  }
}
terrysahaidak commented 4 years ago

Unfortunately, updating react native won't work if you just update version in package json.

Use upgrade helper and follow instructions in order to update it. Also, many things we used in the app may be deprecated and removed in newer version of RN.