Open
Description
Please update @trust/json-document to migrate to webpack5 as maintaining it in the Debian OS environment caused a bug as we try to build the package with webpack 5.65.0, as you still support of webpack1.13.1
here is a link to the bug report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002865
The failing build major output looks like this while building with webpack 5.65.0
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_build
make[1]: Entering directory '/home/ayoyimika/debian-js-packaging/trust-json-document/node-trust-json-document'
babeljs --no-babelrc src -d lib --presets=@babel/preset-env
Successfully compiled 10 files with Babel (4537ms).
webpack --output-filename json-document.js --mode development
asset json-document.js 99 bytes [emitted] (name: main)
ERROR in main
Module not found: Error: Recursion in resolving
Stack:
undefined: (/home/ayoyimika/debian-js-packaging/trust-json-document/node-trust-json-document) ./lib/index.js
webpack 5.65.0 compiled with 1 error in 191 ms
make[1]: *** [debian/rules:32: debian/js/json-document.min.js] Error 1
make[1]: Leaving directory '/home/ayoyimika/debian-js-packaging/trust-json-document/node-trust-json-document'
make: *** [debian/rules:48: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
A simple solution i proffer is migrating to webpack5 to have access to its updated features, benefits and options https://webpack.js.org/migrate/5/
Thanks and Cheers
Metadata
Assignees
Labels
No labels
Activity