引入antv/graphin后报错显示"export '__spreadArray' was not found in 'tslib'
Open
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 275
- PR merge metrics
- No merged PRs in 30d
Description
在React项目中引入了graphin之后yarn start控制台报错"export '__spreadArray' was not found in 'tslib'

已尝试过npm install tslib --save和npm install tslib --save -dev但是均无效
Contributor guide
Research direction
Start by reproducing the reported error in the React project with `yarn start` and inspect the Graphin and tslib dependency versions. The report names no source file or test; done means the `export '__spreadArray' was not found in 'tslib'` error no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100