[Pkg-javascript-devel] Bug#960120: node-yarnpkg: build with node-babel-loader 8.x (babel 7) fails
Pirate Praveen
praveen at onenetbeyond.org
Sat May 9 17:00:43 BST 2020
Package: node-yarnpkg
Version: 1.22.4-3
Severity: important
Similar to #958780,
With node-babel-loader >= 8.0 in experimental, build fails with
node ./scripts/build-webpack.js
Unhandled rejection TypeError: fileDependencies.map is not a function
at compiler.run (/<<PKGBUILDDIR>>/scripts/build-webpack.js:118:38)
at finalCallback (/usr/share/nodejs/webpack/lib/Compiler.js:257:39)
at hooks.done.callAsync.err
(/usr/share/nodejs/webpack/lib/Compiler.js:273:13)
at AsyncSeriesHook.eval [as callAsync] (eval at create
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:24:12),
<anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook [as _callAsync]
(/usr/share/nodejs/tapable/lib/Hook.js:35:21)
at onCompiled (/usr/share/nodejs/webpack/lib/Compiler.js:271:21)
at hooks.afterCompile.callAsync.err
(/usr/share/nodejs/webpack/lib/Compiler.js:681:15)
at AsyncSeriesHook.eval [as callAsync] (eval at create
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:24:12),
<anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook [as _callAsync]
(/usr/share/nodejs/tapable/lib/Hook.js:35:21)
at compilation.seal.err
(/usr/share/nodejs/webpack/lib/Compiler.js:678:31)
at AsyncSeriesHook.eval [as callAsync] (eval at create
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:24:12),
<anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook [as _callAsync]
(/usr/share/nodejs/tapable/lib/Hook.js:35:21)
at hooks.optimizeAssets.callAsync.err
(/usr/share/nodejs/webpack/lib/Compilation.js:1423:35)
at AsyncSeriesHook.eval [as callAsync] (eval at create
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:24:12),
<anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook [as _callAsync]
(/usr/share/nodejs/tapable/lib/Hook.js:35:21)
at hooks.optimizeChunkAssets.callAsync.err
(/usr/share/nodejs/webpack/lib/Compilation.js:1414:32)
as explained in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=958780#39 this will
need more adjustments to get it to build with babel 7.
This is a blocker for uploading node-babel-loader 8.x in unstable.
More information about the Pkg-javascript-devel
mailing list