Skip to content

postinstall failing: 'scripts' is not recognized as an internal or external command (windows) #4

@Zertuk

Description

@Zertuk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions