[Pkg-javascript-devel] Bug#1002863: node-react-audio-player: FTBFS with webpack5: Error: Invalid webpack options

Ayoyimika Ajibade ayoyimikaajibade at gmail.com
Tue Jan 4 05:54:56 GMT 2022


Hello Nicolas!

Am good for now.

Thanks for asking

On Fri, Dec 31, 2021 at 3:47 PM Nicolas Mora <nicolas at babelouest.org> wrote:
>
> Hello Ayoyimika,
>
> I've updated the webpack patch for webpack 5. Now the build goes
> further, but it fails anyway:
>
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> webpack -p
> internal/modules/cjs/loader.js:818
>    throw err;
>    ^
>
> Error: Cannot find module 'import-local'
> Require stack:
> - /usr/share/nodejs/webpack-cli/bin/cli.js
> - /usr/share/nodejs/webpack/bin/webpack.js
>      at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:815:15)
>      at Function.Module._load (internal/modules/cjs/loader.js:667:27)
>      at Module.require (internal/modules/cjs/loader.js:887:19)
>      at require (internal/modules/cjs/helpers.js:74:18)
>      at Object.<anonymous> (/usr/share/nodejs/webpack-cli/bin/cli.js:5:21)
>      at Module._compile (internal/modules/cjs/loader.js:999:30)
>      at Object.Module._extensions..js
> (internal/modules/cjs/loader.js:1027:10)
>      at Module.load (internal/modules/cjs/loader.js:863:32)
>      at Function.Module._load (internal/modules/cjs/loader.js:708:14)
>      at Module.require (internal/modules/cjs/loader.js:887:19) {
>    code: 'MODULE_NOT_FOUND',
>    requireStack: [
>      '/usr/share/nodejs/webpack-cli/bin/cli.js',
>      '/usr/share/nodejs/webpack/bin/webpack.js'
>    ]
> }
> make[1]: *** [debian/rules:11: override_dh_auto_build] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:8: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit
> status 2
>
> I'll upload a new package to unstable with the new patch, let me know if
> you need further help.
>
> /Nicolas



More information about the Pkg-javascript-devel mailing list