-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
Object spread operator is breaking in local dev #13
Comments
It doesn't have to. Are you sure you're on Node 10? |
I'd expect it to work as well. I just installed the latest Node to upgrade from 10.6 -> 10.9. Oh well, I'll chalk it up to my environment. And see what I can do. |
If you or anyone would like to try the test app locally, here's what I was testing with. |
I have this problem to. My version node - v8.9.3 |
Hey @watch2raff , How are you using the package? Mine was breaking due to some problems with Babel 7 and npm symlinking. |
Having the same error while using it with next.js. Node 10.9.0. Edit: @sindresorhus @szmarczak |
Same problem. |
The reason is that |
I using this package in my app create with create-react-app. |
❔ Issue
Ky is breaking due to the use of Object Spread Operator.
🔦 Context
I've tested it with Create-React-App. CRA supports the Object Spread Operator, however if it's used within a module, Babel does not transpile it. Interestingly enough, Ky works fine when I add into a box at Codesandbox.io.
💻 Error Sample
🌍 Your Environment
Create react app @ latest
Node @ v10.6.0
The text was updated successfully, but these errors were encountered: