You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
Expected Behavior
Bundling with webpack - importing and using the library works
Actual Behavior
An uncaught exception occurs:
WARNING in ../node_modules/apollo-utilities/lib/bundle.esm.js 569:66-80 "export '__spreadArrays' was not found in 'tslib'
A simple reproduction
Have "apollo-link": "1.2.14" in package.json
Bundle the app with webpack
See the above error
Full Stack
WARNING in ../node_modules/apollo-utilities/lib/bundle.esm.js 569:66-80
"export '__spreadArrays' was not found in 'tslib'
at HarmonyImportSpecifierDependency._getErrors (/mnt/d/Repositories/diasyst/diasyst-fe/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:109:11)
at HarmonyImportSpecifierDependency.getWarnings (/mnt/d/Repositories/diasyst/diasyst-fe/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:60:15)
at Compilation.reportDependencyErrorsAndWarnings (/mnt/d/Repositories/diasyst/diasyst-fe/node_modules/webpack/lib/Compilation.js:1454:24)
at /mnt/d/Repositories/diasyst/diasyst-fe/node_modules/webpack/lib/Compilation.js:1258:10
at AsyncSeriesHook.eval [as callAsync] (eval at create (/mnt/d/Repositories/diasyst/diasyst-fe/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:20:1)
at AsyncSeriesHook.lazyCompileHook (/mnt/d/Repositories/diasyst/diasyst-fe/node_modules/webpack/node_modules/tapable/lib/Hook.js:154:20)
at Compilation.finish (/mnt/d/Repositories/diasyst/diasyst-fe/node_modules/webpack/lib/Compilation.js:1253:28)
at /mnt/d/Repositories/diasyst/diasyst-fe/node_modules/webpack/lib/Compiler.js:672:17
at _done (eval at create (/mnt/d/Repositories/diasyst/diasyst-fe/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:7:1)
at eval (eval at create (/mnt/d/Repositories/diasyst/diasyst-fe/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:42:22)
@ ../node_modules/apollo-link/lib/bundle.esm.js
@ ./common/graphQL/apollo.service.js
@ ./common/graphQL/index.js
@ ./common/api/index.js
@ ./common sync ^((?!spec\.).)*\.(?:js|less)$
@ ./main.js
@ ./launcher.js
Expected Behavior
Bundling with webpack - importing and using the library works
Actual Behavior
An uncaught exception occurs:
A simple reproduction
"apollo-link": "1.2.14"
in package.jsonFull Stack
Related packages
Reverting the packages back to their previous versions and the error is no longer happening
The text was updated successfully, but these errors were encountered: