tslib 版本太低
- Vorherrschende Sprache
- TypeScript
- Sterne
- 105
- Forks
- 23
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
[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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne damit, den webpack-Build aus dem gemeldeten Einstiegspfad src/pages/tcbi-publish/index.ts zu reproduzieren, und prüfe die Abhängigkeitsdeklarationen sowie die installierte tslib-Version. Verfolge den Import durch @antv/algorithm/es/gaddi.js; abgeschlossen ist die Aufgabe, wenn der Build nicht mehr meldet, dass __spreadArray in tslib fehlt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript, webpack
- Bereich
- build-system
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100