Windows 8:`node-gyp rebuild`退出状态1将contextify安装为僵尸的依赖项 [英] Windows 8 : `node-gyp rebuild` Exit status 1 installing contextify as dependency of zombie

查看:124
本文介绍了Windows 8:`node-gyp rebuild`退出状态1将contextify安装为僵尸的依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试安装僵尸js,并收到此错误:

I'm trying to install zombie js, and get this error:

> contextify@0.1.8 install
C:\Users\User\Documents\ArbeitPhilipp\clieman\billing\node_modules\zombie\node_modules\jsdom\node_modules\contextify
> node-gyp rebuild

Das System kann den angegebenen Pfad nicht finden.

C:\Users\User\Documents\ArbeitPhilipp\clieman\billing\node_modules\zombie\node_modules\jsdom\node_modules\contextify>node "C:\Program Files (x86)\nodejs\nod
e_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack     at errnoException (child_process.js:980:11)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:771:34)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd
C:\Users\User\Documents\ArbeitPhilipp\clieman\billing\node_modules\zombie\node_modules\jsdom\node_modules\contextify
gyp ERR! node -v v0.10.24
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok

我在Windows 8(64x)上工作

I work on Windows 8 (64x)

节点:v0.10.24(32)

Node: v0.10.24 (32)

npm:1.3.21

npm: 1.3.21

Python:2.7(32)

Python: 2.7 (32)

Python的方法位于PATH(C:\ Python27 \ python.exe;)中 PYTHONPATH:C:\ Python27 \ PYTHON:C:\ Python27 \ python.exe

Way to Python is in PATH (C:\Python27\python.exe;) PYTHONPATH : C:\Python27\ PYTHON : C:\Python27\python.exe

npm install --verbose contextify 2>&1 | grep gyp

给出输出:

C:\Users\User\Documents\ArbeitPhilipp\clieman\billing\node_modules\contextify>node    "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\n
ode_modules\node-gyp\bin\node-gyp.js" rebuild
gyp npm verb unsafe-perm in lifecycle true
npm ERR! contextify@0.1.8 install: `node-gyp rebuild`
npm ERR!     node-gyp rebuild

我已经阅读了有关此主题的所有问题,但是没有发现对我有帮助的

I've already read all issues to this topic, but no found desicion has helped me.

非常感谢您的帮助!

推荐答案

如果有人对此提出建议:我们将其跟踪(手动调试..)跟踪到某个节点绑定脚本,该脚本在创建节点时执行了node.exe. msbuild的构建脚本.

If someone else is coming up on this: We tracked it down (debugging by hand..) to some node binding script that executes node.exe while creating the build script for msbuild.

contextify中的binding.gyp 包含: 'include_dirs': ["<!(node -e \"require('nan')\")"],

the binding.gyp from contextify contains: 'include_dirs': ["<!(node -e \"require('nan')\")"],

哪个产生了: Das System kann den angegebenen Pfad nicht finden(The System Cannot Find the Path Specified)
即使掌握了python无法以某种方式调用node.exe并找到require("nan")模块的知识,我们也放弃了这一点.如果任何人有我们的更多见解,请分享.因此,我有不眠之夜;)

Which produces the: Das System kann den angegebenen Pfad nicht finden (The System Cannot Find the Path Specified)
Even with this knowledge that somehow python cannot call the node.exe and find the require("nan") module we gave up on this. If anywone has more insights that we do, please share. I have sleepless nights because of this ;)

这篇关于Windows 8:`node-gyp rebuild`退出状态1将contextify安装为僵尸的依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆