tcomb-form-native
tcomb-form-native copied to clipboard
I've got error message when I try expo start --web
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
- 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'
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/