Bug#960120: [Pkg-javascript-devel] Bug#960120: node-yarnpkg: build with node-babel-loader 8.x (babel 7) fails

2020-05-09 Thread Pirate Praveen




On Sat, May 9, 2020 at 9:30 pm, Pirate Praveen 
 wrote:

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




It seems this failure is already present in the current version, so I'm 
wondering if we can ignore this error for now.




Bug#960120: node-yarnpkg: build with node-babel-loader 8.x (babel 7) fails

2020-05-09 Thread Pirate Praveen

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 (/<>/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), 
: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), 
: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), 
: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), 
: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.