[Pkg-javascript-devel] Bug#976310: node-compression-webpack-plugin: TypeError: (0 , _schemaUtils.validate) is not a function

Pirate Praveen praveen at onenetbeyond.org
Thu Dec 3 08:54:53 GMT 2020


Package: node-compression-webpack-plugin
Version: 3.0.1-3
Severity: serious
Control: affects -1 gitlab

Installation of gitlab started failing with the following error. I 
think this is related to the recent update of node-schema-utils.

Webpacking...
/usr/share/nodejs/webpack/node_modules/webpack-cli/bin/cli.js:93
                throw err;
                ^

TypeError: (0 , _schemaUtils.validate) is not a function
    at new CompressionPlugin (/usr/share/nodejs/compression-webpack-plu
gin/dist/index.js:40:31)
    at Object.<anonymous> (/etc/gitlab/webpack.config.js:451:41)
    at Module._compile (/usr/share/nodejs/webpack/node_modules/v8-compi
le-cache/v8-compile-cache.js:194:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:10
35:10)
    at Module.load (internal/modules/cjs/loader.js:879:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Module.require (internal/modules/cjs/loader.js:903:19)
    at require (/usr/share/nodejs/webpack/node_modules/v8-compile-cache
/v8-compile-cache.js:161:20)
    at WEBPACK_OPTIONS (/usr/share/nodejs/webpack/node_modules/webpack-
cli/bin/utils/convert-argv.js:114:13)
    at requireConfig (/usr/share/nodejs/webpack/node_modules/webpack-cl
i/bin/utils/convert-argv.js:116:6)
    at /usr/share/nodejs/webpack/node_modules/webpack-cli/bin/utils/con
vert-argv.js:123:17
    at Array.forEach (<anonymous>)
    at module.exports (/usr/share/nodejs/webpack/node_modules/webpack-c
li/bin/utils/convert-argv.js:121:15)
    at /usr/share/nodejs/webpack/node_modules/webpack-cli/bin



More information about the Pkg-javascript-devel mailing list