問題タブ [nodegit]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
1796 参照

node.js - Configure gcc-4.8.5 to include GLIBCXX_3.4.20 on centos6

Hi folks i've been searching for solutions to this problem for days but none of the methods posted online worked for me. Basically I'm trying to install NodeGit library on my production server (centos-release-6-8.el6.centos.12.3.x86_64). Doing npm install throws the following error:

Doing strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX gives:

So GLIBCXX_3.4.20 is missing. Running gcc -v gives:

Some places suggest I install gcc-4.9 following this . But it simply doesn't work because in the production server I have to install gcc through a host management tool(Roller) which is a pain in the ass and I want to avoid doing that.

Do you folks know any ways of getting the GLIBCXX_3.4.20 installed?

0 投票する
1 に答える
759 参照

node.js - npmのインストール中にlibssh2で「Cコンパイラは実行可能ファイルを作成できません」

nodegitの npm インストール中に次のエラーが発生しました。

誰かがこれで私を助けることができますか? C コンパイラが実行可能ファイルを作成できない原因となった権限の問題が原因ですか?

私の環境:

OS:centos-release-6-8.el6.centos.12.3.x86_64

gcc:4.9.1

openssl:openssl-1.0.1e-48.el6.x86_64

libssh2:libssh2-1.4.2-2.el6_7.1.x86_64

ノード:v4.4.7

npm:2.15.8

gcc -v与えます:

エラーが発生する /home/mhu/nodegit/vendor/libssh2 の config.log の部分は次のとおりです。

0 投票する
2 に答える
102 参照

nodegit - nodegit クローン操作をキャンセルするには?

nodegit を使用して、長時間実行されているクローン操作をキャンセルするにはどうすればよいですか? 私たちのレポは 3GB のようです。時間がかかりすぎるため、ユーザーはレポを中止したいと思うかもしれません。

約束を断ることはできますか?そのようです?

0 投票する
0 に答える
61 参照

node.js - nodegitでgit構成を設定する方法はありますか?

Git 構成の取得は、この投稿NodeGit を使用して Git 構成変数を読み取るで回答されていますが、nodegitを使用して git 構成を設定する方法はありますか?