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

eslint error: "Cannot find module .../dist/Checkbox" #111

Closed
ysmike opened this issue Feb 6, 2021 · 1 comment
Closed

eslint error: "Cannot find module .../dist/Checkbox" #111

ysmike opened this issue Feb 6, 2021 · 1 comment

Comments

@ysmike
Copy link

ysmike commented Feb 6, 2021

When I run yarn run eslint ., I'm running into the error below. In package.json, there is this line "main":"dist/Checkbox"; however, in the dist folder of the module, there is no file that matches Checkbox. If I manually change the package.json file to match one of the files in the dist folder, eslint does pass but this doesn't feel right. Any thoughts? #34 (comment) also addressed this issue.

Error: Cannot find module '.../node_modules/@react-native-community/checkbox/dist/CheckBox'. Please verify that the package.json has a valid "main" entry

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

No branches or pull requests

2 participants