Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Compile errors when installing "webkit-devtools-agent"

未关闭
#84 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
18/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
领域
build-system

调研方向

从粘贴的构建输出以及由 [email protected] 调用的 node-gyp rebuild 开始;将该失败与 Windows 7、Node v5.4.1、node-gyp v3.0.3 和 Visual Studio 2015 的环境进行对比。完成的要求是确认某项 package 或构建变更,使 npm install webkit-devtools-agent 成功执行,但该 issue 没有指出源文件或测试。

由索引模型根据 Issue 内容生成。

描述

Hello,

After about 5 hours of trying to make gyp work on my Windows 7 x64 and finally following steps:

  1. Install Visual Studio 2015 Express with the visual c++ option enabled ( when installing in advanced mode )
  2. Install Python 2.7.x
  3. setx GYP_MSVS_VERSION 2015

Aaaand after calling: npm install webkit-devtools-agent --save-dev I'm getting output as follows:

Because output is quite large and markdown has no option to put it into textarea I've put it on pastebin

output tail:

(...)
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\projects\operator\client\node_modules\webkit-devtools-agent
gyp ERR! node -v v5.4.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN Invalid version: "1.0"
npm WARN Invalid version: "1.0"
npm WARN EPACKAGEJSON client No description
npm WARN EPACKAGEJSON client No repository field.
npm WARN EPACKAGEJSON client No README data
npm WARN EPACKAGEJSON client No license field.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "webkit-devtools-agent" "--save-dev"
npm ERR! node v5.4.1
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the webkit-devtools-agent package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls webkit-devtools-agent
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     D:\projects\operator\client\npm-debug.lo

Help anyone please crying

主要语言
JavaScript
星标
1.1k
派生
77
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

c4milo/node-webkit-agent 的其他 Issue

查看 c4milo/node-webkit-agent 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。