hydrogen: Installation error on Windows: zeromq@5.1.0 install

Description:

Installation fails on windows, either via Atom GUI or cmd (apm). I noticed that the same error happens when running:

npm install zeromq

Steps to Reproduce:

apm install hydrogen --python [path-to-python2]

Versions:

OS Version: Windows 7 64bit Atom Version: 1.38.2 Electron Version: 2.0.18 Node Version: 8.9.3 Hydrogen Version: 2.9.0 (latest)

Logs:

9678 verbose stack Error: zeromq@5.1.0 install: `node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)`
9678 verbose stack Exit status 1
9678 verbose stack     at EventEmitter.<anonymous> (C:\Users\[user]\AppData\Local\atom\app-1.36.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\index.js:304:16)
9678 verbose stack     at emitTwo (events.js:126:13)
9678 verbose stack     at EventEmitter.emit (events.js:214:7)
9678 verbose stack     at ChildProcess.<anonymous> (C:\Users\[user]\AppData\Local\atom\app-1.36.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
9678 verbose stack     at emitTwo (events.js:126:13)
9678 verbose stack     at ChildProcess.emit (events.js:214:7)
9678 verbose stack     at maybeClose (internal/child_process.js:925:16)
9678 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
9679 verbose pkgid zeromq@5.1.0
9680 verbose cwd C:\Users\[user]\AppData\Local\Temp\apm-install-dir-119315-20252-tmh3rj.1qhh
9681 verbose Windows_NT 6.1.7601
9682 verbose argv "C:\\Users\\[user]\\AppData\\Local\\atom\\app-1.36.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\[user]\\AppData\\Local\\atom\\app-1.36.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\[user]\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\[user]\\.atom\\.apmrc" "install" "https://www.atom.io/api/packages/hydrogen/versions/2.9.0/tarball" "--runtime=electron" "--target=2.0.18" "--dist-url=https://atom.io/download/electron" "--arch=x64" "--global-style" "--msvs_version=2015"
9683 verbose node v8.9.3
9684 verbose npm  v6.2.0
9685 error code ELIFECYCLE
9686 error errno 1
9687 error zeromq@5.1.0 install: `node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)`
9687 error Exit status 1
9688 error Failed at the zeromq@5.1.0 install script.
9688 error This is probably not a problem with npm. There is likely additional logging output above.
9689 verbose exit [ 1, true ]

Thank you!

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

OK, it looks like node-gyp@3.4.0 is now choking on your installation of VS build tools.

The usual recommendation is to install npm install --global --production windows-build-tools (though, this hasn’t always worked for me).