Nodegit fails in postscript execution in Windows Server 2012 6.3.9600
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 5.8k
- フォーク
- 704
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
System information
- node version: 10.15.3
- npm or yarn version: 6.9.0
- OS/version/architecture: Win32
- Applicable nodegit version: x64
node -v
npm -v # (or yarn -v)
node -e "console.log(process.platform)"
node -e "console.log(require('os').release())"
node -e "console.log(console.log(process.arch))"
nodegit has dependency with node-pre-gyp@v0.11.0. npm install is failing post installation of this dependency.
Logs:
node-pre-gyp ERR! System Windows_NT 6.3.9600
node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\Projects\CCS-REL40-JOB1\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp
ERR! cwd D:\Projects\CCS-REL40-JOB1\node_modules\nodegit
node-pre-gyp ERR! node -v v10.15.3
node-pre-gyp ERR! node-pre-gyp -v
v0.11.0
node-pre-gyp ERR! This is a bug in node-pre-gyp.
node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help:
node-pre-gyp
ERR! https://github.com/mapbox/node-pre-gyp/issues
[nodegit] ERROR - Could not finish install
[nodegit] ERROR - finished with error code: 7
npm WARN request-promise-native@1.0.7 requires a peer of request@^2.34 but none is installed. You must install peer dependencies yourself.
npm WARN request-promise-core@1.1.2 requires a peer of request@^2.34 but none is installed. You must install peer dependencies yourself.
npm WARN releasemanagementtool@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 7
npm ERR! nodegit@0.24.3 install: node lifecycleScripts/preinstall && node lifecycleScripts/install
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the nodegit@0.24.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\bobthebuilder\AppData\Roaming\npm-cache_logs\2019-05-27T08_25_49_617Z-debug.log
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Windows Server 2012 上で Node 10.15.3 を使用して nodegit@0.24.3 の npm install を再現し、その後、node-pre-gyp のエラー出力と併せて nodegit の lifecycleScripts/preinstall と install フローを調査する。報告された Windows 環境で post-install ステップが正常に完了すれば完了とする。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, nodejs
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100