react-native-keyboard-aware-scroll-view icon indicating copy to clipboard operation
react-native-keyboard-aware-scroll-view copied to clipboard

Invariant Violation: ListView has been removed from React Native. See https://fb.me/nolistview for more information or use 'deprecate-react-native-listview'

Open yalamandarao opened this issue 4 years ago • 7 comments

After updating the Expo SDK 36 version the issue is occured.

package.json (I'm not using any ListView)

{
  "main": "node_modules/expo/AppEntry.js",
  "private": true,
  "dependencies": {
    "@expo/vector-icons": "^6.3.1",
    "axios": "^0.18.0",
    "base-64": "^0.1.0",
    "d3-scale-chromatic": "^1.2.0",
    "expo": "^36.0.0",
    "expo-asset-utils": "0.0.5",
    "expo-react-native-adapter": "^3.0.1",
    "formik": "^1.4.1",
    "install": "^0.11.0",
    "lodash": "^4.17.10",
    "moment": "^2.22.1",
    "moment-timezone": "^0.5.21",
    "native-base": "2.8.2",
    "npm": "^6.3.0",
    "react": "16.3.1",
    "react-native": "https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz",
    "react-native-drawer": "^2.5.0",
    "react-native-easy-grid": "^0.2.2",
    "react-native-elements": "^0.19.0",
    "react-native-exception-handler": "^2.10.2",
    "react-native-image-resizer": "^1.0.0",
    "react-native-keyboard-aware-scroll-view": "^0.6.0",
    "react-native-modal-datetime-picker": "^6.0.0",
    "react-native-modalbox": "^1.4.2",
    "react-native-progress-bar-classic": "^1.2.1",
    "react-native-render-html": "^4.2.0",
    "react-native-slider": "^0.11.0",
    "react-native-table-component": "^1.1.8",
    "react-native-vector-icons": "^4.5.0",
    "react-native-webview": "7.4.3",
    "react-navigation": "~2.9.3",
    "react-router-native": "^4.3.0",
    "react-timer-mixin": "^0.13.4",
    "recompose": "^0.27.0",
    "rn-fetch-blob": "^0.10.13",
    "whatwg-fetch": "^2.0.4",
    "yup": "^0.26.0"
  },
  "devDependencies": {
    "babel-eslint": "^8.2.2",
    "chai": "^4.2.0",
    "chai-things": "^0.2.0",
    "dotenv": "^6.0.0",
    "eslint": "^4.18.1",
    "eslint-config-airbnb": "^16.1.0",
    "eslint-config-prettier": "^2.9.0",
    "eslint-plugin-chai-friendly": "^0.4.1",
    "eslint-plugin-import": "^2.12.0",
    "eslint-plugin-jsx-a11y": "^6.0.3",
    "eslint-plugin-mocha": "^5.2.0",
    "eslint-plugin-react": "^7.7.0",
    "flow-bin": "^0.90.0",
    "mocha": "^5.2.0",
    "prettier-eslint": "^8.8.2"
  }
}

Simulator Screen Shot - iPad Pro (11-inch) - 2020-02-03 at 16 42 00

yalamandarao avatar Feb 03 '20 08:02 yalamandarao

I'm having this same issue. Please any update on how this can be fixed

BlessedYahaya avatar Mar 07 '20 09:03 BlessedYahaya

@BlessedYahaya can you update react-native-keyboard-aware-scroll-view to the latest version?

azizhk avatar Mar 07 '20 15:03 azizhk

@azizhk I've done that yet the issue still persists.

Please any other way?

BlessedYahaya avatar Mar 07 '20 15:03 BlessedYahaya

Then you will have to see which of your dependency is requiring ListView. You can figure that out by following:

  1. Use React Native Debugger or Chrome Debugger
  2. Turn on "Pause on Exceptions" in the Sources tab.
  3. Check the "Pause on caught exceptions" and then when you reach above error, try going up the Call Stack and see which dependency required ListView.

azizhk avatar Mar 07 '20 18:03 azizhk

@BlessedYahaya try to remove the node_modules first and then try again. If still persist also follow steps in above comment https://github.com/APSL/react-native-keyboard-aware-scroll-view/issues/419#issuecomment-596124062

hb2708 avatar Apr 10 '20 04:04 hb2708

@hb2708 still the problem exists.

srinivasbharadwajHullur avatar Mar 26 '21 07:03 srinivasbharadwajHullur

Having he same issue...

mikeRChambers610 avatar Jul 01 '21 04:07 mikeRChambers610