-
-
Notifications
You must be signed in to change notification settings - Fork 144
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 ... after upgrading to 6.2.1 #192
Comments
just introduced |
I'm facing the same issue when adding it to a project. From which version are you updating @albert-olive? Tried also 6.0.0 with no luck. 5.0.1 works great. My versions are |
Hi @aserrabl, in my previous comment, you have my versions. Didn't updated yet because I'm having already this problem |
I have the same issue, for what it's worth i've recently updated my project to create react app v2, could it be that?
|
Thanks for opening this issue, @albert-olive, and thanks for your comments, @mofax @aserrabl @SarantopoulosKon. I assume you are using a version of node < 8.6, right? |
The issue disappeared after I moved up to node v9.9.0
…On Sat, 13 Oct 2018, 9:16 p.m. Michele Bertoli, ***@***.***> wrote:
Thanks for opening this issue, @albert-olive
<https://github.com/albert-olive>, and thanks for your comments, @mofax
<https://github.com/mofax> @aserrabl <https://github.com/aserrabl>
@SarantopoulosKon <https://github.com/SarantopoulosKon>.
I assume you are using a version of node < 8.6, right?
Source: https://node.green/#ES2018-features-object-rest-spread-properties
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#192 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFoKCvLIt4x3lFU1qnisUUwYc8QPp79eks5uki4TgaJpZM4W4Uh_>
.
|
Me too @MicheleBertoli |
The package.json can/should define the https://docs.npmjs.com/files/package.json#engines Alternatively (and preferably), |
I ran into this too, for a quick temporary fix you can just tell jest to transform this package by adding the following line to your jest config: |
Hi,
After upgrading to
6.2.1
all my tests breaks:And my setupTests.js:
My package versions are:
Anyone has the same problem?
Thanks
The text was updated successfully, but these errors were encountered: