ant-design-charts icon indicating copy to clipboard operation
ant-design-charts copied to clipboard

Failed to minify the code [BUG]

Open Gopisuresh-Akula opened this issue 4 years ago • 7 comments

Hi I facing an issue with charts please find attach the image response as soon as possible

jj

Gopisuresh-Akula avatar Oct 12 '21 03:10 Gopisuresh-Akula

Deleted lock.json and try to update.

lxfu1 avatar Oct 12 '21 03:10 lxfu1

@lxfu1.thanks for response yeah deleted yarn lock --> yarn installl but issue not resolved more over I'm using webpack

Gopisuresh-Akula avatar Oct 12 '21 03:10 Gopisuresh-Akula

@Gopisuresh-Akula : Can you please tell us which versions of ant-design-charts, webpack, node, npm your using? @lxfu1 @hitf2 @Yanyan-Wang @baizn : Can you please help us guide on this?

aniruddhashevle avatar Oct 12 '21 05:10 aniruddhashevle

ant-design-charts:   "^1.2.14"
"webpack": "^4.42.0",
node: 14.8.0
npm: 6.14.7 

lxfu1 avatar Oct 12 '21 05:10 lxfu1

@lxfu1 @aniruddhashevle these versions i used "@ant-design/charts": "^1.2.13",
"webpack": "3.8.1", "webpack-dev-server": "2.9.4", "webpack-manifest-plugin": "1.3.2", these my vesrion node:v14.17.6 npm:6.14.15 yarn:1.22.5

Gopisuresh-Akula avatar Oct 12 '21 06:10 Gopisuresh-Akula

Hi there, I am also facing the exact same issue as above where ml-matrix fails to minify while running npm run build or yarn build. We have narrowed it down to ant-design-charts as the problem because uninstalling ant-design-charts causes the problem to disappear (however we would like to prevent doing this as much as possible).

Here are the versions requested:

"antd": "^3.12.2",
"@ant-design/charts": "^1.2.10",
"webpack": "3.8.1",
node: v14.16.0
npm: 6.14.11

Note: I have also tried to update the ant design charts to the newest version however the problem still persists.

Are there any updates on solving this issue?

Thank you.

jamesadhitthana avatar Oct 19 '21 04:10 jamesadhitthana

Hi there, I'm also facing the same issue while npm run build

node_modules\ml-matrix\src\symmetricMatrix.js: Unexpected character '#'

are there any updated on resolving this issue

pravins007 avatar Feb 20 '24 20:02 pravins007