-
-
Notifications
You must be signed in to change notification settings - Fork 652
Closed
Description
Describe the bug
npm install webpack-cli fails if you don't have bash in your PATH.
v3.2.1 worked but v3.2.2 fails.
To Reproduce
mkdir webpack-demo && cd webpack-demo
npm init -y
npm install webpack webpack-cli --save-dev
> webpack-cli@3.2.2 postinstall C:\webpack-demo\node_modules\webpack-cli
> webpack-cli-donate
'bash' is not recognized as an internal or external command,
operable program or batch file.
npm WARN webpack-demo@1.0.0 No description
npm WARN webpack-demo@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! webpack-cli@3.2.2 postinstall: `webpack-cli-donate`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the webpack-cli@3.2.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Expected behavior
npm install works regardless of bash existence or clear documentation of requirement for bash.
Metadata
Metadata
Assignees
Labels
No labels