You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2023. It is now read-only.
If you upgrade to RNW 12.0 or greater you can no longer use react native web
Error: ./node_modules/react-native-table-component/components/rows.js
Cannot find module: 'react-native-web/dist/exports/ViewPropTypes'. Make sure this package is installed.
The text was updated successfully, but these errors were encountered:
As I think this might not get fixed quickly, in the meantime I've prepared my own, slightly hacky workaround:
In ./scripts/fix-rn-web-proptypes-issue.sh:
#!/bin/bash
echo 'Fixing PropTypes issue related to react-native-table-component...'
for file in ./node_modules/react-native-table-component/components/*.js; do
sed -i '/ViewPropTypes\.style/g' $file
sed -i '/Text\.propTypes/g' $file
done
echo 'PropTypes issue fixed!'
If you upgrade to RNW 12.0 or greater you can no longer use react native web
Error: ./node_modules/react-native-table-component/components/rows.js
Cannot find module: 'react-native-web/dist/exports/ViewPropTypes'. Make sure this package is installed.
The text was updated successfully, but these errors were encountered: