Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Zertuk opened this issue Sep 24, 2018 · 4 comments

Comments

@Zertuk
Copy link

Zertuk commented Sep 24, 2018

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.

@sayore
Copy link

sayore commented Oct 29, 2018

same issue here

@Jonahss
Copy link
Contributor

Jonahss commented Mar 22, 2019

Yes it's because you're on windows. Does this work inside the Windows Subsystem for Linux? Mitmproxy suggests installing that way anyways.

@saisixthblock
Copy link

how can i run it in windows

@saisixthblock
Copy link

i am also getting same error. how can i clear in windows 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants