yibn2008 / easy-nodegit Goto Github PK
View Code? Open in Web Editor NEWA high level wrapper for nodegit with simple and elegant API
A high level wrapper for nodegit with simple and elegant API
D:\demos\doc-master>cnpm install
npm WARN config global --global
, --local
are deprecated. Use --location=global
instead.
npm WARN config global --global
, --local
are deprecated. Use --location=global
instead.
npm WARN config global --global
, --local
are deprecated. Use --location=global
instead.
√ Installed 1 packages
√ Linked 135 latest versions
[1/1] scripts.install [email protected] › [email protected] run "node lifecycleScripts/preinstall && node lifecycleScripts/install", root: "D:\demos\doc-master\node_modules\_nodegit@0.21.0@nodegit"
[nodegit] Running pre-install script
[nodegit] Running install script
node-pre-gyp
http GET https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.21.0-node-v93-win32-x64.tar.gz
node-pre-gyp http
404 https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.21.0-node-v93-win32-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.21.0-node-v93-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v93 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.21.0-node-v93-win32-x64.tar.gz
node-pre-gyp ERR! Tried to download(undefined): https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.21.0-node-v93-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v93 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
gypgyp
ERR! ERR!configure error
configure error
gypgyp ERR!ERR! stack stack Error: Command failed: D:\Program Files\Python38\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp Error: Command failed: D:\Program Files\Python38\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gypERR!
stackERR! File "", line 1
gypstack ERR! File "", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
stackgyp ERR! import sys; print "%s.%s.%s" % sys.version_info[:3];
stack ^
gypgyp ERR! stack ^
gyp ERR!ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp
ERR! stack at ChildProcess.exithandler (node:child_process:398:12)
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stackstack
at ChildProcess.emit (node:events:527:28)
gyp gyp ERR! stack at maybeClose (node:internal/child_process:1092:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
ERR! stack at ChildProcess.exithandler (node:child_process:398:12)
gyp ERR! gyp ERR! System Windows_NT 10.0.19044
stack at ChildProcess.emit (node:events:527:28)
gypgyp ERR!ERR!
command "D:\app\node\node.exe" "D:\demos\doc-master\node_modules\_node-gyp@3.8.0@node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=D:\demos\doc-master\node_modules\_nodegit@0.21.0@nodegit\build\Release\nodegit.node" "--module_name=nodegit" "--module_path=D:\demos\doc-master\node_modules\_nodegit@0.21.0@nodegit\build\Release"
stackgyp at maybeClose (node:internal/child_process:1092:16)
ERR! gypcwd D:\demos\doc-master\node_modules_nodegit@0.21.0@nodegit
ERR!gyp ERR!stack node -v at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
v16.16.0
gyp ERR! node-gyp -v v3.8.0
gypgyp ERR! ERR!System Windows_NT 10.0.19044
not ok
gyp ERR! command "D:\app\node\node.exe" "D:\demos\doc-master\node_modules\_node-gyp@3.8.0@node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=D:\demos\doc-master\node_modules\_nodegit@0.21.0@nodegit\build\Release\nodegit.node" "--module_name=nodegit" "--module_path=D:\demos\doc-master\node_modules\_nodegit@0.21.0@nodegit\build\Release"
gyp ERR! cwd D:\demos\doc-master\node_modules_nodegit@0.21.0@nodegit
gyp ERR! node -v v16.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR!
build error
Failed to execute 'D:\app\node\node.exe D:\demos\doc-master\node_modules_node-gyp@3.8.0@node-gyp\bin\node-gyp.js configure --fallback-to-build --module=D:\demos\doc-master\node_modules_nodegit@0.21.0@nodegit\build\Release\nodegit.node --module_name=nodegit --module_path=D:\demos\doc-master\node_modules_nodegit@0.21.0@nodegit\build\Release' (1)
node-pre-gyp ERR! stack Error: Failed to execute 'D:\app\node\node.exe D:\demos\doc-master\node_modules_node-gyp@3.8.0@node-gyp\bin\node-gyp.js configure --fallback-to-build --module=D:\demos\doc-master\node_modules_nodegit@0.21.0@nodegit\build\Release\nodegit.node --module_name=nodegit --module_path=D:\demos\doc-master\node_modules_nodegit@0.21.0@nodegit\build\Release' (1)
node-pre-gyp ERR! stack at ChildProcess. (D:\demos\doc-master\node_modules_node-pre-gyp@0.6.39@node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (node:events:527:28)
node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1092:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
node-pre-gyp ERR! System Windows_NT 10.0.19044
node-pre-gyp ERR! command "D:\app\node\node.exe" "D:\demos\doc-master\node_modules\_node-pre-gyp@0.6.39@node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd D:\demos\doc-master\node_modules_nodegit@0.21.0@nodegit
node-pre-gyp ERR! node -v v16.16.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
[nodegit] ERROR - Could not finish install
[nodegit] ERROR - finished with error code: 1
[npminstall:runscript:error] [email protected] › [email protected] scripts.install run "node lifecycleScripts/preinstall && node lifecycleScripts/install" error: Error [RunScriptError]: Run "C:\Windows\system32\cmd.exe /d /s /c node lifecycleScripts/preinstall && node lifecycleScripts/install" error, exit code 1
at ChildProcess. (C:\Users\zhengxiaohui\AppData\Roaming\npm\node_modules\cnpm\node_modules\runscript\index.js:96:21)
at ChildProcess.emit (node:events:527:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) {
stdio: [Object],
exitcode: 1
}
× Install fail! RunScriptError: post install error, please remove node_modules before retry!
Run "C:\Windows\system32\cmd.exe /d /s /c node lifecycleScripts/preinstall && node lifecycleScripts/install" error, exit code 1
RunScriptError: Run "C:\Windows\system32\cmd.exe /d /s /c node lifecycleScripts/preinstall && node lifecycleScripts/install" error, exit code 1
at ChildProcess. (C:\Users\zhengxiaohui\AppData\Roaming\npm\node_modules\cnpm\node_modules\runscript\index.js:96:21)
at ChildProcess.emit (node:events:527:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npminstall version: 6.4.0
npminstall args: D:\app\node\node.exe C:\Users\zhengxiaohui\AppData\Roaming\npm\node_modules\cnpm\node_modules\npminstall\bin\install.js --fix-bug-versions --china --userconfig=C:\Users\zhengxiaohui.cnpmrc --disturl=https://npmmirror.com/mirrors/node --registry=https://registry.npm.taobao.org/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.