Nodegit fails in postscript execution in Windows Server 2012 6.3.9600
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.8k
- Forks
- 704
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce npm install for nodegit@0.24.3 with Node 10.15.3 on Windows Server 2012, then inspect nodegit's lifecycleScripts/preinstall and install flow alongside the node-pre-gyp error output. Done means the post-install step completes successfully on the reported Windows environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100