I am getting the following error.
error: Error: Unable to resolve module react-native/Libraries/Components/ScrollResponder from C:\Projects\Tests\DataTable\node_modules\deprecated-react-native-listview\index.js: react-native/Libraries/Components/ScrollResponder could not be found within the project or in these directories:
node_modules
If you are sure the module exists, try these steps:
My App.js has only this code.
import React from 'react';
import type {Node} from 'react';
import {
SafeAreaView,
ScrollView,
StatusBar,
StyleSheet,
Text,
useColorScheme,
View,
} from 'react-native';
import {DataTable, Cell} from 'react-native-data-table';
Describe the bug
I am getting the following error. error: Error: Unable to resolve module react-native/Libraries/Components/ScrollResponder from C:\Projects\Tests\DataTable\node_modules\deprecated-react-native-listview\index.js: react-native/Libraries/Components/ScrollResponder could not be found within the project or in these directories: node_modules
If you are sure the module exists, try these steps:
To reproduce
My App.js has only this code. import React from 'react'; import type {Node} from 'react'; import { SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, useColorScheme, View, } from 'react-native'; import {DataTable, Cell} from 'react-native-data-table';
<View style={{ backgroundColor: isDarkMode ? Colors.black : Colors.white, }}>
Version and device info
I have only these dependencies. "dependencies": { "react": "17.0.2", "react-native": "0.65.1", "react-native-data-table": "^0.2.1" }