Devextreme-reactive: Yarn build fails to minify

Created on 27 Jan 2019  路  8Comments  路  Source: DevExpress/devextreme-reactive

  • [x] I have searched this repository's issues and believe that this is not a duplicate.

I'm using ...

  • [ ] React Grid
  • [x] React Chart
  • [ ] React Scheduler

Current Behaviour

I am using the Chart component with Material UI and when I try to build my project with yarn build I get this error:

Failed to minify the code from this file:
./node_modules/@devexpress/dx-chart-core/dist/dx-chart-core.es.js:529

Expected Behaviour

yarn build shoudn't throw any error.

Environment

  • devextreme-reactive: 1.10.0
  • react: 16.7
  • material-ui: 3.9.0
question

Most helpful comment

I got the following result after running react-scripts build in your project.

Failed to minify the code from this file:
    ./node_modules/@devexpress/dx-chart-core/node_modules/d3-array/src/quantile.js:3:15

There was also a link that leaded here.

I updated the react-scripts version (to the latest one) and react-script build was performed successfully.

All 8 comments

Hello.

Would you please modify the sample so that the issue is reproduced?

I modified the sample but I wasn't able to reproduce the issue: yarn build doesn't return any error.

Can you provide a sample of your code where the error occurs?

Try running yarn build on the last commit of the master branch of this repository: https://github.com/IglooCloud/IglooAurora

I got the following result after running react-scripts build in your project.

Failed to minify the code from this file:
    ./node_modules/@devexpress/dx-chart-core/node_modules/d3-array/src/quantile.js:3:15

There was also a link that leaded here.

I updated the react-scripts version (to the latest one) and react-script build was performed successfully.

That solved it! Thanks!

You are welcome.

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bloolizard picture bloolizard  路  3Comments

franklixuefei picture franklixuefei  路  3Comments

SferaDev picture SferaDev  路  3Comments

glenpadua picture glenpadua  路  3Comments

madebymt picture madebymt  路  3Comments