Debugging "ListView has been removed from React Native"

Hi, I’m trying to get an inherited project up and running (involving an update from SDK 28 to 37), and am having some trouble diagnosing a recent error that cropped up.

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

I understand what this error message is saying, but the problem is I can’t find any reference to ListView in the project, or in any of the dependencies (via grep through node_modules/). How can I find the offending piece of code (and update it to use deprecated-react-native-listview)?

$ expo diagnostics

  Expo CLI 3.27.7 environment info:
    System:
      OS: macOS 10.15.6
      Shell: 5.0.18 - /usr/local/bin/bash
    Binaries:
      Node: 12.18.4 - /usr/local/bin/node
      Yarn: 1.22.5 - /usr/local/bin/yarn
      npm: 6.14.6 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    Managers:
      CocoaPods: 1.9.3 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: iOS 14.0, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
      Android SDK:
        API Levels: 30
        Build Tools: 30.0.2
        System Images: android-29 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
    IDEs:
      Android Studio: 4.0 AI-193.6911.18.40.6626763
      Xcode: 12.0/12A7209 - /usr/bin/xcodebuild
    npmPackages:
      expo: ^37.0.0 => 37.0.12 
      react: 16.9.0 => 16.9.0 
      react-dom: 16.9.0 => 16.9.0 
      react-native: 0.61.4 => 0.61.4 
      react-native-web: ^0.11.7 => 0.11.7 
      react-navigation: ^4.2.0 => 4.4.1 
    npmGlobalPackages:
      expo-cli: 3.27.7
    Expo Workflow: managed

Thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.