Cannot rebuild the docker image

Hi. everyone,
a few days ago i was able to rebuild docker image after making code changes to the file with this command : “docker build -t opendronemap/webodm_webapp .” , but for some reason, today when i rebuild docker image an error appears :
[webpack-cli]
Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.

  • configuration.module.rules[0].use[0] has an unknown property ‘query’. These properties are valid:
    object { ident?, loader?, options? }
    The command ‘/bin/sh -c npm install --quiet -g webpack && npm install --quiet -g webpack-cli && npm install --quiet && webpack --mode production’ returned a non-zero code: 2

can anyone help?

Thanks

1 Like