tcomb-form-native icon indicating copy to clipboard operation
tcomb-form-native copied to clipboard

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

Open sanghyun5958 opened this issue 4 years ago • 1 comments

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'

sanghyun5958 avatar Apr 23 '20 05:04 sanghyun5958

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/

FakieSui avatar Dec 14 '20 13:12 FakieSui