tslib 版本太低
- Dominant language
- TypeScript
- Stars
- 105
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
[1] ../node_modules/@antv/algorithm/es/gaddi.js 498:59-72
[1] "export '__spreadArray' was not found in 'tslib'
[1] at HarmonyImportSpecifierDependency._getErrors (/Users/fanzhou/Documents/code/tcv/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:109:11)
[1] at HarmonyImportSpecifierDependency.getWarnings (/Users/fanzhou/Documents/code/tcv/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:60:15)
[1] at Compilation.reportDependencyErrorsAndWarnings (/Users/fanzhou/Documents/code/tcv/node_modules/webpack/lib/Compilation.js:1454:24)
[1] at /Users/fanzhou/Documents/code/tcv/node_modules/webpack/lib/Compilation.js:1258:10
[1] at AsyncSeriesHook.eval [as callAsync] (eval at create (/Users/fanzhou/Documents/code/tcv/node_modules/tapable/lib/HookCodeFactory.js:33:10), :20:1)
[1] at AsyncSeriesHook.lazyCompileHook (/Users/fanzhou/Documents/code/tcv/node_modules/tapable/lib/Hook.js:154:20)
[1] at Compilation.finish (/Users/fanzhou/Documents/code/tcv/node_modules/webpack/lib/Compilation.js:1253:28)
[1] at /Users/fanzhou/Documents/code/tcv/node_modules/webpack/lib/Compiler.js:672:17
[1] at _done (eval at create (/Users/fanzhou/Documents/code/tcv/node_modules/tapable/lib/HookCodeFactory.js:33:10), :9:1)
[1] at eval (eval at create (/Users/fanzhou/Documents/code/tcv/node_modules/tapable/lib/HookCodeFactory.js:33:10), :68:22)
[1] at /Users/fanzhou/Documents/code/tcv/node_modules/webpack/lib/Compilation.js:1185:12
[1] at /Users/fanzhou/Documents/code/tcv/node_modules/webpack/lib/Compilation.js:1097:9
[1] at processTicksAndRejections (node:internal/process/task_queues:78:11)
[1] @ ../node_modules/@antv/algorithm/es/index.js
[1] @ ../node_modules/@antv/g6-pc/es/index.js
[1] @ ../node_modules/@antv/g6/es/index.js
[1] @ ../src/pages/tcbi/routes/cube/edit/panels/RightTopLink/VisualLink/utils/convert.ts
[1] @ ../src/pages/tcbi/routes/cube/edit/panels/RightTopLink/VisualLink/VisualLink.tsx
[1] @ ../src/pages/tcbi/routes/cube/edit/panels/RightTopLink/RightTopLink.tsx
[1] @ ../src/pages/tcbi/routes/cube/edit/EditWorkbench.tsx
[1] @ ../src/pages/tcbi/routes/cube/index.tsx
[1] @ ../src/pages/tcbi/routes/index.tsx
[1] @ ../src/pages/tcbi/app/Root.tsx
[1] @ ../src/pages/tcbi/app/App.tsx
[1] @ ../src/pages/tcbi-publish/init.tsx
[1] @ ../src/pages/tcbi-publish/index.ts
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the webpack build from the reported entry path, src/pages/tcbi-publish/index.ts, and inspect the dependency declarations and installed tslib version. Trace the import through @antv/algorithm/es/gaddi.js; done means the build no longer reports that __spreadArray is missing from tslib.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, webpack
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100