[Pkg-javascript-devel] Bug#989733: webpack: Error: Cannot find module 'array-back'

Pirate Praveen praveen at onenetbeyond.org
Fri Jun 11 13:32:08 BST 2021


Package: webpack
Version: 5.6.0+~cs6.4.0-1~exp2
Severity: serious

With webpack from experimental,

 webpack --help
(node:251750) UnhandledPromiseRejectionWarning: Error: Cannot find 
module 'array-back'
Require stack:
- /usr/share/nodejs/webpack/node_modules/command-line-usage/index.js
- /usr/share/nodejs/webpack-cli/lib/groups/runHelp.js
- /usr/share/nodejs/webpack-cli/lib/utils/arg-parser.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 
(/usr/share/nodejs/webpack/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at commandLineUsage 
(/usr/share/nodejs/webpack/node_modules/command-line-usage/index.js:12:20)
    at printHelp 
(/usr/share/nodejs/webpack-cli/lib/groups/runHelp.js:71:12)
    at outputHelp 
(/usr/share/nodejs/webpack-cli/lib/groups/runHelp.js:111:20)
    at argParser 
(/usr/share/nodejs/webpack-cli/lib/utils/arg-parser.js:45:9)
    at runCLI (/usr/share/nodejs/webpack-cli/lib/bootstrap.js:11:24)
    at Object.<anonymous> 
(/usr/share/nodejs/webpack-cli/bin/cli.js:24:5)
(node:251750) UnhandledPromiseRejectionWarning: Unhandled promise 
rejection. This error originated either by throwing inside of an async 
function without a catch block, or by rejecting a promise which was not 
handled with .catch(). To terminate the node process on unhandled 
promise rejection, use the CLI flag `--unhandled-rejections=strict` 
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). 
(rejection id: 1)
(node:251750) [DEP0018] DeprecationWarning: Unhandled promise 
rejections are deprecated. In the future, promise rejections that are 
not handled will terminate the Node.js process with a non-zero exit 
code.



More information about the Pkg-javascript-devel mailing list