Skip to content

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

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:

> mitmproxy@2.1.0 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! mitmproxy@2.1.0 postinstall: `scripts/install_python_deps.py`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mitmproxy@2.1.0 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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