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

npm run build fails on Windows #5

Open
emerick opened this issue Aug 14, 2018 · 1 comment
Open

npm run build fails on Windows #5

emerick opened this issue Aug 14, 2018 · 1 comment

Comments

@emerick
Copy link

@emerick emerick commented Aug 14, 2018

npm run build fails on a vanilla Windows 10 installation with the following error:

https-everywhere-builder\scripts\preloadHTTPSE.js:154
              throw err
              ^

Error: Command failed: zip -r httpse.leveldb.zip httpse.leveldb && tar -czf httpse.leveldb.tgz httpse.leveldb
'zip' is not recognized as an internal or external command,
operable program or batch file.

    at ChildProcess.exithandler (child_process.js:275:12)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

It's probably due to a lack of zip/unzip utilities in a standard Windows install. Probably better to use an npm zip module if possible, for portability.

@cschanaj
Copy link
Contributor

@cschanaj cschanaj commented May 13, 2019

See #14

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.