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

HighCharts for web #110

Open
JustynaKK opened this issue Nov 3, 2020 · 1 comment
Open

HighCharts for web #110

JustynaKK opened this issue Nov 3, 2020 · 1 comment

Comments

@JustynaKK
Copy link

I am trying to run my app in the browser using Expo (react-native-web) and I am getting this error during compilation:

PATH:/node_modules/@highcharts/highcharts-react-native/src/HighchartsReactNative.js 34:16
Module parse failed: Unexpected token (34:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|     }
| 
>     setHcAssets = async (useCDN) => {
|         try {
|             await this.setLayout()

On mobiles everything works well

"@highcharts/highcharts-react-native": "3.1.2",

@Denyllon
Copy link
Contributor

Denyllon commented Nov 4, 2020

Hi @JustynaKK ,

Thank you for contacting us.
It looks like the problem with your bundler configuration. Did you set up your own webpack.config.js file? If yes, could you provide me with it? We definitely need more detailed informations about your configurations, or even any minimal repository (with steps to reproduce) where the problem is noticeable. Is it possible to get it?

Kind regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants