Build_build enabled fails (skip_frontend_build: ""

Hi,
I build the docker-compose without skipping the frontend (on docker-copmose.yml skip_frontend_build: “”), and get the following error:

@redash/viz@0.1.1 build:babel:base /frontend/viz-lib
babel src --out-dir lib --source-maps --ignore ‘src/**/*.test.js’ --copy-files --no-copy-ignored --extensions .ts,.tsx,.js,.jsx

Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Successfully compiled 169 files with Babel.
[webpack-cli] Failed to load ‘/frontend/webpack.config.js’
[webpack-cli] ValidationError: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema.

  • options[0] misses the property ‘patterns’. Should be:
    [non-empty string | object { from, to?, context?, globOptions?, filter?, toType?, force?, info?, transform?, transformPath?, noErrorOnMissing? }, …] (should not have fewer than 1
    item)
  • options[1] misses the property ‘patterns’. Should be:
    [non-empty string | object { from, to?, context?, globOptions?, filter?, toType?, force?, info?, transform?, transformPath?, noErrorOnMissing? }, …] (should not have fewer than 1
    item)
  • options[2] misses the property ‘patterns’. Should be:
    [non-empty string | object { from, to?, context?, globOptions?, filter?, toType?, force?, info?, transform?, transformPath?, noErrorOnMissing? }, …] (should not have fewer than 1
    item)
  • options[3] misses the property ‘patterns’. Should be:
    [non-empty string | object { from, to?, context?, globOptions?, filter?, toType?, force?, info?, transform?, transformPath?, noErrorOnMissing? }, …] (should not have fewer than 1
    item)
  • options[4] misses the property ‘patterns’. Should be:
    [non-empty string | object { from, to?, context?, globOptions?, filter?, toType?, force?, info?, transform?, transformPath?, noErrorOnMissing? }, …] (should not have fewer than 1
    item)
    at validate (/frontend/node_modules/copy-webpack-plugin/node_modules/schema-utils/dist/validate.js:104:11)
    at new CopyPlugin (/frontend/node_modules/copy-webpack-plugin/dist/index.js:40:31)
    at Object. (/frontend/webpack.config.js:112:5)
    at Module._compile (/frontend/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (/frontend/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at loadConfig (/frontend/node_modules/webpack-cli/lib/webpack-cli.js:753:31) {
    errors: [
    {
    keyword: ‘required’,
    dataPath: ‘[0]’,
    schemaPath: ‘#/required’,
    params: [Object],
    message: “should have required property ‘patterns’”,
    schema: [Object],
    parentSchema: [Object],
    data: [Object],
    children: [Array]
    },
    {
    keyword: ‘required’,
    dataPath: ‘[1]’,
    schemaPath: ‘#/required’,
    params: [Object],
    message: “should have required property ‘patterns’”,
    schema: [Object],
    parentSchema: [Object],
    data: [Object],
    children: [Array]
    },
    {
    keyword: ‘required’,
    dataPath: ‘[2]’,
    schemaPath: ‘#/required’,
    params: [Object],
    message: “should have required property ‘patterns’”,
    schema: [Object],
    parentSchema: [Object],
    data: [Object],
    children: [Array]
    },
    {
    keyword: ‘required’,
    dataPath: ‘[3]’,
    schemaPath: ‘#/required’,
    params: [Object],
    message: “should have required property ‘patterns’”,
    schema: [Object],
    parentSchema: [Object],
    data: [Object],
    children: [Array]
    },
    {
    keyword: ‘required’,
    dataPath: ‘[4]’,
    schemaPath: ‘#/required’,
    params: [Object],
    message: “should have required property ‘patterns’”,
    schema: [Object],
    parentSchema: [Object],
    data: [Object],
    children: [Array]
    }
    ],
    schema: {
    definitions: { ObjectPattern: [Object], StringPattern: [Object] },
    type: ‘object’,
    additionalProperties: false,
    properties: { patterns: [Object], options: [Object] },
    required: [ ‘patterns’ ]
    },
    headerName: ‘Copy Plugin’,
    baseDataPath: ‘options’,
    postFormatter: null
    }
    npm ERR! code ELIFECYCLE
    npm ERR! errno 2
    npm ERR! redash-client@9.0.0-beta build: npm run clean && npm run build:viz && NODE_ENV=production webpack
    npm ERR! Exit status 2
    npm ERR!
    npm ERR! Failed at the redash-client@9.0.0-beta build script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /frontend/.npm/_logs/2021-01-17T11_40_37_546Z-debug.log
ERROR: Service ‘server’ failed to build : The command ‘/bin/sh -c if [ “x$skip_frontend_build” = “x” ] ; then npm run build; else mkdir -p /frontend/client/dist && touch /frontend/cli
ent/dist/multi_org.html && touch /frontend/client/dist/index.html; fi’ returned a non-zero code: 2