-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unexpected token (2:9) #11
Comments
@LewisAndrewCampbell yes please test with babel 7, if it doesn't work let me know. |
Hi, No luck with 7 either. Can I get a minimal working example?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I used to use contracts in Racket of all languages, so glad to see something similar exists for JS!
Anyway, every time I try to compile anything with the contracts plugin, I get
Unexpected token (2:9)
. It doesn't matter what is at position 2:9, even comments will trigger the same error..babelrc
test.js
babel --version
Do I need babel 7 for this? 6.26.3 is the latest version in npm.
https://www.npmjs.com/package/babel-core
The text was updated successfully, but these errors were encountered: