[Pkg-javascript-devel] Bug#1001554: Bug#1001554: node-mocha: FTBFS with webpack5: Error: wrong webpack5 options configuration

Pirate Praveen praveen at onenetbeyond.org
Mon May 23 10:04:29 BST 2022



On തി, മേയ് 23 2022 at 02:04:56 വൈകു +05:30:00 
+05:30:00, Pirate Praveen <praveen at onenetbeyond.org> wrote:
> Control: severity -1 serious
> 
> 
> Since webpack 5 is in unstable, bumping severity.
> 

After dropping the patch for webpack 4 compatibility, the build now 
fails with this error.

It is not very clear from the log what is missing though.

[08:40:30] Webpack errors:
[object Object]

releavant part of the log,

+ NODE_ENV=production gulp
[08:40:29] Local modules not found in /<<PKGBUILDDIR>>/workerpool
[08:40:29] Try running: npm install
[08:40:29] Using globally installed gulp
[08:40:30] Using gulpfile /<<PKGBUILDDIR>>/workerpool/gulpfile.js
[08:40:30] Starting 'default'...
[08:40:30] Starting 'clean'...
[08:40:30] Finished 'clean' after 15 ms
[08:40:30] Starting 'bundle-worker'...
[08:40:30] Webpack errors:
[object Object]
[08:40:30] 'bundle-worker' errored after 105 ms
[08:40:30] Error: Compile failed
    at /<<PKGBUILDDIR>>/workerpool/gulpfile.js:110:12
    at finalCallback (/usr/share/nodejs/webpack/lib/Compiler.js:436:32)
    at /usr/share/nodejs/webpack/lib/Compiler.js:453:13
    at Hook.eval [as callAsync] (eval at create 
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:33:10), 
<anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] 
(/usr/share/nodejs/tapable/lib/Hook.js:18:14)
    at onCompiled (/usr/share/nodejs/webpack/lib/Compiler.js:451:21)
    at /usr/share/nodejs/webpack/lib/Compiler.js:1129:17
    at Hook.eval [as callAsync] (eval at create 
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:33:10), 
<anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] 
(/usr/share/nodejs/tapable/lib/Hook.js:18:14)
    at /usr/share/nodejs/webpack/lib/Compiler.js:1125:33



More information about the Pkg-javascript-devel mailing list