[Pkg-javascript-devel] Bug#1001549: node-mermaid: FTBFS with webpack5: Error: webpack-cli is missing

Nilesh Patra nilesh at nileshpatra.info
Sun Dec 12 15:26:23 GMT 2021


control: severity -1 normal

Hi,

I maintain mermaid in debian

On 12/12/21 9:32 AM, Ayoyimika Ajibade wrote:
> Found debian/nodejs/strip-css-comments/build
>          cd ./strip-css-comments && sh -ex ../debian/nodejs/strip-css-comments/build
> + babeljs -o index.cjs index.js
> Found debian/nodejs/stylis/build
>          cd ./stylis && sh -ex ../debian/nodejs/stylis/build
> + rollup --config script/build.js --configSrc ./
> 
> index.js → dist/umd/stylis.js...
> created dist/umd/stylis.js in 1.3s
> 
> index.js → dist/stylis.mjs...
> created dist/stylis.mjs in 1.1s
> No build command found, searching known files
> ln -sf /usr/share/nodejs/buffer .
> terser escaper/dist/escaper.js -c -m -o escaper/dist/escaper.min.js
> webpack --progress --colors
> CLI for webpack must be installed.
>    webpack-cli (https://github.com/webpack/webpack-cli)

This does not really look like a problem with mermaid, but rather with webpack itself.
You should probably embed this in and provide as a binary with webpack.

I have reduced the severity. Please re-assign to relevant package, and add mermaid to the "affects"
list instead.

Regards,
Nilesh


-------------- 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/20211212/6f762c6d/attachment.sig>


More information about the Pkg-javascript-devel mailing list