webpack-cli-donate breaks webpack installation

Created on 5 Feb 2019  路  2Comments  路  Source: webpack/webpack-cli

Since b4af4675 webpack-cli requires webpack-cli-scripts (which doesn't have a repository listed) and runs webpack-cli-donate as its postinstall script.

This makes it impossible to install webpack on both Windows and BusyBox-based Linuxes like Alpine:

>npm update

> [email protected] postinstall C:\build\node_modules\webpack-cli
> webpack-cli-donate

'bash' is not recognized as an internal or external command,
operable program or batch file.
# npm update

> [email protected] postinstall /build/node_modules/webpack-cli
> webpack-cli-donate

env: can't execute 'bash': No such file or directory

This happens even though I'm running my CI jobs with DISABLE_OPENCOLLECTIVE=true.

Guys, I'm grateful for all the work that went into Webpack, but things like this aren't really a motivation to donate. :(

Most helpful comment

V.3.2.3 fixed this

All 2 comments

I鈥檒l fix this 2morrow

V.3.2.3 fixed this

Was this page helpful?
0 / 5 - 0 ratings