TradingPal / react-native-highcharts

📈 Add Highcharts charts to react-native app for IOS and Android
https://github.com/TradingPal/react-native-highcharts
256 stars 158 forks source link

Unexpected token error with latest build. #14

Closed mcorway closed 7 years ago

mcorway commented 7 years ago

Hi, I was using react-native-chart-view for some time on an app I've been developing for a few months now. A problem came up when I tried to do a release build, the charts would not show up and I saw in your closed issues list, that was a previous problem. So I updated to react-native-highcharts, latest version. I am also on React-Native build 0.42, but my app fails immediately with this error:

screen shot 2017-03-14 at 2 48 49 pm

This happens immediately when the App runs. I do not believe it to be my config, although my config does contain a function (but it comes from an outside source, the function must remain in).

Any help?

mcorway commented 7 years ago

Sorry about closing the issue, was by mistake.

Infinity0106 commented 7 years ago

I think I found the error in line 44 in let end before it end with a , it should end with ; but I already commit the fix, can you try it?

mmazzarolo commented 7 years ago

Can confirm, it's the comma!

hongmaoxiao commented 7 years ago

same as