postinstall failing: 'scripts' is not recognized as an internal or external command (windows)
Trying to npm install BLeak, but am running into an issue with mitmproxy-node failing its postinstall script. Here is the error message:
> [email protected] postinstall C:\Users\jforcier\AppData\Roaming\npm\node_modules\mitmproxy
> scripts/install_python_deps.py
'scripts' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `scripts/install_python_deps.py`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall 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! C:\Users\jforcier\AppData\Roaming\npm-cache\_logs\2018-09-24T19_40_06_833Z-debug.log
Cloning the repo and replacing the postinstall path with the direct path is my current work around. This is reproducible on multiple windows computers, but I don't have easy access to other OSs to see whether its windows only or not.
same issue here
Yes it's because you're on windows. Does this work inside the Windows Subsystem for Linux? Mitmproxy suggests installing that way anyways.
how can i run it in windows
i am also getting same error. how can i clear in windows 11