[Pkg-javascript-devel] Bug#1003333: node-clipboard: FTBFS with webpaxk5: Cannot find module 'uglifyjs-webpack-plugin'

Caleb Adepitan calebpitan at gmail.com
Sat Jan 8 14:21:16 GMT 2022


Source: node-clipboard
Version: 2.0.6+ds+~cs7.6.4-1
Severity: important
Tags: ftbfs
User: pkg-javascript-devel at alioth-lists.debian.net
Usertags: webpack5

Hi,

We are starting to build against webpack5 in experimental and the 
package needed for local build is webpack and node-webpack-source from 
experimental.
During a test rebuild, node-clipboard was found to fail to build in that 
situation.

Relevant part (hopefully):

+ webpack
[webpack-cli] Failed to load '/<<PKGBUILDDIR>>/webpack.config.js' config
[webpack-cli] Error: Cannot find module 'uglifyjs-webpack-plugin'
Require stack:
- /<<PKGBUILDDIR>>/webpack.config.js
- /usr/share/nodejs/webpack-cli/lib/webpack-cli.js
- /usr/share/nodejs/webpack-cli/lib/bootstrap.js
- /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> (/<<PKGBUILDDIR>>/webpack.config.js:4:24)
     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: [
     '/<<PKGBUILDDIR>>/webpack.config.js',
     '/usr/share/nodejs/webpack-cli/lib/webpack-cli.js',
     '/usr/share/nodejs/webpack-cli/lib/bootstrap.js',
     '/usr/share/nodejs/webpack-cli/bin/cli.js',
     '/usr/share/nodejs/webpack/bin/webpack.js'
   ]
}
dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned 
exit code 2
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2022-01-08T14:13:34Z

Finished
--------


The full log is attached to this mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-clipboard.log
Type: text/x-log
Size: 105444 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220108/bcd8358e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x8A1B2CC96775D2D7.asc
Type: application/pgp-keys
Size: 3139 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220108/bcd8358e/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220108/bcd8358e/attachment.sig>


More information about the Pkg-javascript-devel mailing list