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

I couldn't use the lib #929

Closed
titipignataro opened this issue Oct 14, 2021 · 7 comments
Closed

I couldn't use the lib #929

titipignataro opened this issue Oct 14, 2021 · 7 comments

Comments

@titipignataro
Copy link

Hello,
I've installed this library following the steps listed in
https://charts.ant.design/guide/start

So I made yarn add @ant-design/charts
But when used the Pie Chart, the following message came up to me and I couldn't use the chart.

export __spreadArray was not found in 'tslib'

image

@lxfu1
Copy link
Member

lxfu1 commented Oct 15, 2021

Upgrade tslib npm install tslib --save

@lxfu1 lxfu1 closed this as completed Oct 15, 2021
@titipignataro
Copy link
Author

titipignataro commented Oct 18, 2021

image

image

image

@titipignataro
Copy link
Author

The problem was not resolved

@titipignataro
Copy link
Author

titipignataro commented Oct 18, 2021

image
image

Even trying yarn add tslib it didn't work

@mboettcher
Copy link

I'm facing the same issue. Even after adding latest tslib via yarn add tslib antd charts is not working.

@mboettcher
Copy link

Fixed the issue by removing tslib from yarn.lock and running yarn again. Previously tslib@^2 was resolved to 2.0.3 instead of the lastest version.

However, I'm still facing issues with Jest.

@lxfu1
Copy link
Member

lxfu1 commented Aug 31, 2022

Fixed the issue by removing tslib from yarn.lock and running yarn again. Previously tslib@^2 was resolved to 2.0.3 instead of the lastest version.

However, I'm still facing issues with Jest.

#518

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

No branches or pull requests

3 participants