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

error SyntaxError #216

Closed
abdullahainun opened this issue Jun 15, 2021 · 3 comments
Closed

error SyntaxError #216

abdullahainun opened this issue Jun 15, 2021 · 3 comments

Comments

@abdullahainun
Copy link

abdullahainun commented Jun 15, 2021

I used this dependency for react native projects, before yesterday I'm building apk with no issue after I getting this. anyone can help me?

error SyntaxError: react-native-repo/node_modules/d3-array/dist/d3-array.js: Unexpected token, expected "," (104:6)

  102 |   var sum = 0, index = 0;
  103 |   return Float64Array.from(values, valueof === undefined
> 104 |     ? v => (sum += +v || 0)
      |       ^
  105 |     : v => (sum += +valueof(v, index++, values) || 0));
  106 | }
@mbostock
Copy link
Member

mbostock commented Jun 15, 2021

Related https://github.com/FormidableLabs/victory-native/issues/653 babel/babel#11038

@abdullahainun
Copy link
Author

abdullahainun commented Jun 15, 2021 via email

@mbostock
Copy link
Member

mbostock commented Aug 1, 2021

Also duplicate of #147.

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

No branches or pull requests

2 participants