Describe the bug
Blank Expo 57 project with react-native-echarts fails rendering the chart on RN web with TypeError: tslib.default is undefined with the example from the README. Full reproduction: https://github.com/rabbldating/testrnecharts
To Reproduce
npx create-expo-app@latest --template blank-typescript
cd project
npx expo install @wuba/react-native-echarts echarts react-native-svg
npx expo install react-dom react-native-web
Then add example chart from https://github.com/wuba/react-native-echarts#example
Then:
The following error shows up and the chart does not render:
$ npx expo start --web
[...]
Web ERROR [TypeError: tslib.default is undefined] @http://localhost:8081/index.ts.bundle?platform=web&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.routerRoot=app&unstable_transformProfile=hermes-stable:30890:7
Full example: https://github.com/rabbldating/testrnecharts
Desktop (please complete the following information):
- OS: Linux
- Browser: Firefox
- Version: 151
Describe the bug
Blank Expo 57 project with
react-native-echartsfails rendering the chart on RN web withTypeError: tslib.default is undefinedwith the example from the README. Full reproduction: https://github.com/rabbldating/testrnechartsTo Reproduce
Then add example chart from https://github.com/wuba/react-native-echarts#example
Then:
The following error shows up and the chart does not render:
Full example: https://github.com/rabbldating/testrnecharts
Desktop (please complete the following information):