[Pkg-javascript-devel] Bug#1003503: node-katex: FTBFS woth webpack5: For the selected environment is no default script chunk format available
Caleb Adepitan
calebpitan at gmail.com
Tue Jan 11 05:08:22 GMT 2022
Source: node-katex
Version: 0.10.2+dfsg-9
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-katex was found to fail to build in that
situation.
Relevant part (hopefully):
>.katex{text-align:left}+ webpack
[webpack-cli] Error: For the selected environment is no default script
chunk format available:
JSONP Array push can be chosen when 'document' or 'importScripts' is
available.
CommonJs exports can be chosen when 'require' or node builtins are
available.
Make sure that your 'browserslist' includes only platforms that support
these features or select an appropriate 'target' to allow selecting a
chunk format by default. Alternatively specify the 'output.chunkFormat'
directly.
at /usr/share/nodejs/webpack/lib/config/defaults.js:735:11
at F (/usr/share/nodejs/webpack/lib/config/defaults.js:72:15)
at applyOutputDefaults
(/usr/share/nodejs/webpack/lib/config/defaults.js:716:2)
at applyWebpackOptionsDefaults
(/usr/share/nodejs/webpack/lib/config/defaults.js:190:2)
at createCompiler (/usr/share/nodejs/webpack/lib/webpack.js:77:2)
at /usr/share/nodejs/webpack/lib/webpack.js:44:48
at Array.map (<anonymous>)
at createMultiCompiler (/usr/share/nodejs/webpack/lib/webpack.js:44:33)
at create (/usr/share/nodejs/webpack/lib/webpack.js:125:16)
at webpack (/usr/share/nodejs/webpack/lib/webpack.js:142:47)
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-08T15:12:25Z
Finished
--------
The full log is attached to this mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-katex.log
Type: text/x-log
Size: 158225 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220111/5b1b6b03/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/20220111/5b1b6b03/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/20220111/5b1b6b03/attachment.sig>
More information about the Pkg-javascript-devel
mailing list