tslib 版本太低
- 主要语言
- TypeScript
- 星标
- 105
- 派生
- 23
- PR 合并指标
- 30 天内没有已合并 PR
描述
[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
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先从报告的入口路径 src/pages/tcbi-publish/index.ts 复现 webpack 构建,并检查依赖声明和已安装的 tslib 版本。跟踪经过 @antv/algorithm/es/gaddi.js 的导入;当构建不再报告 tslib 中缺少 __spreadArray 时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript, webpack
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100