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

SyntaxError: Unexpected token export #375

Closed
diegohaz opened this issue Apr 13, 2017 · 7 comments
Closed

SyntaxError: Unexpected token export #375

diegohaz opened this issue Apr 13, 2017 · 7 comments

Comments

@diegohaz
Copy link

https://travis-ci.org/diegohaz/arc/builds/221734613#L251

@nickswope
Copy link

I just installed this package and am getting the same error whenever I try to import the Modal.

I get this error simply by including the line import Modal from 'react-modal'

@Kyr
Copy link

Kyr commented Apr 13, 2017

Same issue 😞

@KyleKilbride
Copy link

I also get this error when updating to version 1.7.4. This was not an issue in any version previous to this. I will revert for now.

@claydiffrient
Copy link
Contributor

Shoot looks like I missed some ES2015 in my review of #358.

I'll get a fix up ASAP. Sorry for your builds breaking.

claydiffrient added a commit that referenced this issue Apr 13, 2017
@claydiffrient
Copy link
Contributor

Okay please give 1.7.5 a shot :)

@KyleKilbride
Copy link

Works great, thank you!

@diasbruno
Copy link
Collaborator

diasbruno commented Apr 13, 2017

Hmm, my bad. I've forget to remove the 'export' syntax when I moved the PR from master to v1. See #358. (Thanks)

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

No branches or pull requests

6 participants