arnthor3 / react-liquidchart

A React d3 liquid chart
Other
9 stars 0 forks source link

Uncaught SyntaxError: Unexpected token export error? #2

Closed THREKASHRI closed 7 years ago

THREKASHRI commented 7 years ago

When i use this package i get the error Uncaught SyntaxError: Unexpected token export. i don't know what is the issue can u please tell it

arnthor3 commented 7 years ago

Whats your setup? This sounds like your project is not set up to use es6, could that be the case?

THREKASHRI commented 7 years ago

My project setup is for es6. My webpack is for 1.4 version.

On Nov 3, 2017 2:48 PM, "Arnþór Ágústsson" notifications@github.com wrote:

Whats your setup? This sounds like your project is not set up to use es6, could that be the case?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arnthor3/react-liquidchart/issues/2#issuecomment-341652843, or mute the thread https://github.com/notifications/unsubscribe-auth/AXwsEwTR4jXkOFUZ7K2wxFInJNZ2znzPks5sytpSgaJpZM4QQzkg .

arnthor3 commented 7 years ago

ok cool, could you put the project up on github so I can clone it and see whats up?

THREKASHRI commented 7 years ago

Ya .... I have pushed into the github. The repo is https://github.com/THREKASHRI/liquidchart

Can u please check and tell the issues.

On Nov 3, 2017 2:51 PM, "Arnþór Ágústsson" notifications@github.com wrote:

ok cool, could you put the project up on github so I can clone it and see whats up?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arnthor3/react-liquidchart/issues/2#issuecomment-341653352, or mute the thread https://github.com/notifications/unsubscribe-auth/AXwsEwNPw5RKsrwXB6tbDyCPXainYySiks5sytsPgaJpZM4QQzkg .

arnthor3 commented 7 years ago

I will check this when I am off work. in about 5 hours or so. You can try if you are - if you are in a rush - to fork the library and install it locally and see if it works for you that way. Another option would be to use another library react-liquidgauge, you might have better luck there.

THREKASHRI commented 7 years ago

It's ok .. u please check and inform me. I get the same error in that package too. So if your giving some solution it will be better for us.

On Nov 3, 2017 5:25 PM, "Arnþór Ágústsson" notifications@github.com wrote:

I will check this when I am off work. in about 5 hours or so. You can try if you are - if you are in a rush - to fork the library and install it locally and see if it works for you that way. Another option would be to use another library react-liquidgauge, you might have better luck there.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arnthor3/react-liquidchart/issues/2#issuecomment-341683943, or mute the thread https://github.com/notifications/unsubscribe-auth/AXwsE6GfPm0ZDW6Jf_vosKQdqSbjp5Akks5syv8vgaJpZM4QQzkg .

arnthor3 commented 7 years ago

I cloned the project and tried to get this working, but no success. Sorry, this is tied to your setup.

My advise would be to use create-react-app and swap to the other version, react-liquid-gauge. I will not be working on this anytime soon again I am afraid.

I am closing this, good luck and I hope you get your project going.