Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A brief description of the bug #75

Open
everestster opened this issue Sep 1, 2021 · 0 comments
Open

A brief description of the bug #75

everestster opened this issue Sep 1, 2021 · 0 comments

Comments

@everestster
Copy link

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:

  1. Clear watchman watches: watchman watch-del-all
  2. Delete node_modules and run yarn install
  3. Reset Metro's cache: yarn start --reset-cache
  4. Remove the cache: rm -rf /tmp/metro-*
    17 | const RCTScrollViewManager = ReactNative.NativeModules.ScrollViewManager;
    18 | const ScrollView = ReactNative.ScrollView;

19 | const ScrollResponderMixin = require('react-native/Libraries/Components/ScrollResponder').Mixin;
| ^
20 | const StaticRenderer = require('./StaticRenderer');
21 | const View = ReactNative.View;
22 | const cloneReferencedElement = require('react-clone-referenced-element');

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,
}}>


Hello 1234
Hello 1234
Hello 1234


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"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant