jprichardson / jprichardson/node-kexec

npm install fails on windows

Open
#19 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
51
Forks
26
PR merge metrics
No merged PRs in 30d

Description

c:\git\electron-recompile\tmp>npm install kexec
-
> kexec@1.2.0 install c:\git\electron-recompile\node_modules\kexec
> pangyp configure build

Das System kann den angegebenen Pfad nicht finden.
gyp: Call to 'node -v |grep "v0.1[12]" > /dev/null && echo "__NODE_GTE_V0_11__" || echo "__NODE_LT_V0_11__"' returned exit status 255. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (c:\git\electron-recompile\node_modules\kexec\node_modules\pangyp\lib\configure.js:345:16)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "c:\\git\\electron-recompile\\node_modules\\kexec\\node_modules\\pangyp\\bin\\node-gyp.js" "configure" "build"
gyp ERR! cwd c:\git\electron-recompile\node_modules\kexec
gyp ERR! node -v v0.12.6
gyp ERR! pangyp -v v2.3.0
gyp ERR! not ok
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "kexec"
npm ERR! node v0.12.6
npm ERR! npm  v2.11.2
npm ERR! code ELIFECYCLE

npm ERR! kexec@1.2.0 install: `pangyp configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the kexec@1.2.0 install script 'pangyp configure build'.
npm ERR! This is most likely a problem with the kexec package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     pangyp configure build
npm ERR! You can get their info via:
npm ERR!     npm owner ls kexec
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     c:\git\electron-recompile\tmp\npm-debug.log

c:\git\electron-recompile\tmp>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce npm install kexec on Windows with the Node.js and pangyp versions shown. Start by reading kexec's binding.gyp and pangyp/lib/configure.js, focusing on the failing shell command; done means the native install completes successfully on Windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, node.js
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.