[Pkg-matrix-maintainers] Bug#1003505: node-matrix-js-sdk: FTBFS with webpack5: Unknown option '--output'
Pirate Praveen
praveen at onenetbeyond.org
Tue May 24 21:18:05 BST 2022
Control: tags -1 patch
On Tue, 11 Jan 2022 06:21:49 +0100 Caleb Adepitan
<calebpitan at gmail.com> wrote:
>
> Source: node-matrix-js-sdk
> Version: 9.11.0+~cs9.9.16-1
> Severity: important
> Tags: ftbfs
> User: pkg-javascript-devel at alioth-lists.debian.net
> Usertags: webpack5
>
> Hi,
>
> We are starting to build against webpack5 in experimental and the
> package needed for local build is webpack and node-webpack-source
from
> experimental.
> During a test rebuild, node-matrix-js-sdk was found to fail to build
in
> that situation.
>
> Relevant part (hopefully):
>
> tsc --project Xbase-x
> grunt --no-color --base=Xloglevel concat uglify
> >> Local Npm module "grunt-contrib-jasmine" not found. Is it
installed?
> >> Local Npm module "grunt-coveralls" not found. Is it installed?
> >> Local Npm module "grunt-jasmine-node" not found. Is it installed?
> >> Local Npm module "grunt-contrib-jshint" not found. Is it
installed?
> >> Local Npm module "grunt-contrib-watch" not found. Is it
installed?
> >> Local Npm module "grunt-contrib-qunit" not found. Is it
installed?
> >> Local Npm module "grunt-contrib-connect" not found. Is it
installed?
> >> Local Npm module "grunt-open" not found. Is it installed?
> >> Local Npm module "grunt-saucelabs" not found. Is it installed?
> >> Local Npm module "grunt-preprocess" not found. Is it installed?
> >> Local Npm module "grunt-contrib-clean" not found. Is it
installed?
>
> Running "concat:dist" (concat) task
>
> Running "uglify:dist" (uglify) task
> >> 1 file created 8.62KB → 2.78KB
>
> Done.
> # Browser build
> mkdir -p dist
> webpack --config debian/webpack.config.js \
> --entry ./src/browser-index.js \
> --output ./dist/browser-matrix.js \
> --mode development
> [webpack-cli] Error: Unknown option '--output'
This can be fixed by replacing --output ./dist/browser-matrix.js to
--output-path ./dist --output-filename browser-matrix.js
More information about the Pkg-matrix-maintainers
mailing list