[Pkg-javascript-devel] Bug#1001392: Your mail

Pirate Praveen praveen at onenetbeyond.org
Mon May 23 05:17:10 BST 2022


Control: severity -1 serious
Control: retitle -1 node-axios: FTBFS with webpack5: Invalid 
configuration object

On Tue, 18 Jan 2022 22:39:10 +0100 Ayoyimika Ajibade 
<ayoyimikaajibade at gmail.com> wrote:
 > Updating node-axios webpack dependency to version 5 using the PR 
from a
 > contributor https://github.com/axios/axios/pull/4351/commits 
resulted to
 > a similar error as its previous bug report here
 >
 >   debian/rules binary
 > dh binary
 >     dh_update_autotools_config
 >     dh_autoreconf
 >     dh_auto_configure --buildsystem=nodejs
 > Link ./node_modules/grunt-contrib-clean ->
 > /usr/share/nodejs/grunt-contrib-clean
 > Link ./node_modules/grunt-webpack -> /usr/share/nodejs/grunt-webpack
 >     debian/rules override_dh_auto_build
 > make[1]: Entering directory
 > '/home/ayoyimika/debian-js-packaging/axios/node-axios'
 > grunt build
 > Running "clean:dist" (clean) task
 >  >> 0 paths cleaned.
 >
 > Running "webpack" task
 > 99% cache begin idleasset axios.js 99 bytes [emitted] (name: main)
 >
 > ERROR in main
 > Module not found: Error: Recursion in resolving

This error is caused by older version of node-tapable. Currently this 
fails with

grunt build
Running "clean:dist" (clean) task
 >> 0 paths cleaned.

Running "webpack" task
Warning: Invalid configuration object. Webpack has been initialized 
using a configuration object that does not match the API schema.
 - configuration.node has an unknown property 'process'. These 
properties are valid:
   object { __dirname?, __filename?, global? }
   -> Options object for node compatibility features. Use --force to 
continue.

Aborted due to warnings.



More information about the Pkg-javascript-devel mailing list