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

I've got error message when I try expo start --web #591

Open
sanghyun5958 opened this issue Apr 23, 2020 · 1 comment
Open

I've got error message when I try expo start --web #591

sanghyun5958 opened this issue Apr 23, 2020 · 1 comment

Comments

@sanghyun5958
Copy link

Version

Tell us which versions you are using:

  • tcomb-form-native v0.6.20
  • react-native v0.62

Expected behaviour

I've got this error message when I command with expo start --web

/Users/sanghyunlee/Downloads/food/App/node_modules/tcomb-form-native/lib/templates/bootstrap/index.js

Module not found: Can't resolve './datepicker' in '/Users/sanghyunlee/Downloads/food/App/node_modules/tcomb-form-native/lib/templates/bootstrap'

Actual behaviour

No Error message

Steps to reproduce

  1. expo start --web

Stack trace and console log

Hint: it would help a lot if you enable the debugger ("Pause on exceptions" in the "Source" panel of Chrome dev tools) and spot the place where the error is thrown

/Users/sanghyunlee/Downloads/food/App/node_modules/tcomb-form-native/lib/templates/bootstrap/index.js

Module not found: Can't resolve './datepicker' in '/Users/sanghyunlee/Downloads/food/App/node_modules/tcomb-form-native/lib/templates/bootstrap'

@FakieSui
Copy link

This is because the package doesn't support react-native-web, you should check the expo-image-picker instead :
https://docs.expo.io/versions/latest/sdk/imagepicker/

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

2 participants