[Pkg-javascript-devel] Bug#993693: ReferenceError: options is not defined
Julien Puydt
julien.puydt at gmail.com
Sat Sep 4 22:13:50 BST 2021
Package: webpack
Version: 5.6.0+~cs6.4.0-1~exp2
Severity: grave
I was trying to update another js-team package and couldn't understand
what was wrong until I tried to just run webpack by itself in another
directory:
$ webpack
[webpack-cli] ReferenceError: options is not defined
at Object.apply
(/usr/share/nodejs/webpack/lib/config/defaults.js:873:30)
at WebpackOptionsApply.process
(/usr/share/nodejs/webpack/lib/WebpackOptionsApply.js:453:16)
at createCompiler (/usr/share/nodejs/webpack/lib/webpack.js:78:28)
at create (/usr/share/nodejs/webpack/lib/webpack.js:115:15)
at webpack (/usr/share/nodejs/webpack/lib/webpack.js:123:46)
at f (/usr/share/nodejs/webpack/lib/index.js:35:15)
at WebpackCLI.createCompiler (/usr/share/nodejs/webpack-
cli/lib/webpack-cli.js:176:24)
at WebpackCLI.run (/usr/share/nodejs/webpack-cli/lib/webpack-
cli.js:268:25)
at async runCLI (/usr/share/nodejs/webpack-
cli/lib/bootstrap.js:59:9)
This means it's broken ; installing unstable's 4.43.0-6 made the error
go away, so it's a problem only with the new version.
Cheers,
J.Puydt
More information about the Pkg-javascript-devel
mailing list