Comments (45)
@CODeRUS I don't know what's happening there, but reading closely this looks like a warning rather than an error, so I think the install actually worked?
from gittorrent.
It's not working, git saying following: fatal: Unable to find remote helper for 'gittorrent'
from gittorrent.
@CODeRUS How about if you add -g, like:
sudo npm install -g gittorrent
from gittorrent.
output:
sudo npm install -g gittorrent
[sudo] password for coderus:
npm WARN engine [email protected]: wanted: {"node":"0.6"} (current: {"node":"0.10.25","npm":"1.4.21"})
> [email protected] install /usr/local/lib/node_modules/gittorrent/node_modules/webtorrent/node_modules/chromecast-js/node_modules/node-ssdp/node_modules/bunyan/node_modules/dtrace-provider
> node scripts/install.js
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm WARN optional dep failed, continuing [email protected]
> [email protected] install /usr/local/lib/node_modules/gittorrent/node_modules/webtorrent/node_modules/torrent-discovery/node_modules/bittorrent-tracker/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild
gyp: Call to 'node -e "require('nan')"' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:344:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 4.0.4-040004-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/gittorrent/node_modules/webtorrent/node_modules/torrent-discovery/node_modules/bittorrent-tracker/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
> [email protected] install /usr/local/lib/node_modules/gittorrent/node_modules/webtorrent/node_modules/torrent-discovery/node_modules/bittorrent-tracker/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild
gyp: Call to 'node -e "require('nan')"' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:344:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 4.0.4-040004-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/gittorrent/node_modules/webtorrent/node_modules/torrent-discovery/node_modules/bittorrent-tracker/node_modules/ws/node_modules/bufferutil
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm WARN optional dep failed, continuing [email protected]
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm WARN optional dep failed, continuing [email protected]
> [email protected] install /usr/local/lib/node_modules/gittorrent/node_modules/webtorrent/node_modules/torrent-discovery/node_modules/bittorrent-tracker/node_modules/wrtc
> node-pre-gyp install --fallback-to-build
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm WARN optional dep failed, continuing [email protected]
npm WARN optional dep failed, continuing [email protected]
npm WARN deprecated [email protected]: module has been merged into crc32-stream
/usr/local/bin/git-remote-gittorrent -> /usr/local/lib/node_modules/gittorrent/git-remote-gittorrent
/usr/local/bin/gittorrentd -> /usr/local/lib/node_modules/gittorrent/gittorrentd
[email protected] /usr/local/lib/node_modules/gittorrent
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
from gittorrent.
And does it work now? It looks like it placed git-remote-gittorrent in /usr/local/bin.
from gittorrent.
Testing again:
git clone gittorrent://github.com/MacManus88/sailfish-pr0gramm
Cloning into 'sailfish-pr0gramm'...
and no more output given
from gittorrent.
That's probably fine; it means no-one's seeding that, and I don't have the fallback to getting it over git:// yet.
from gittorrent.
okay then. where to get info about seeding repos?
from gittorrent.
From the README:
Or serve your own repos with:
touch somerepo/.git/git-daemon-export-ok
gittorrentd
from gittorrent.
should gittorrentd
stay running after execution? For me it exiting without any output.
from gittorrent.
Yeah, should stay running. Could you paste:
DEBUG=* gittorrentd
from gittorrent.
Same. No output.
from gittorrent.
Maybe your "touch" didn't work.
from gittorrent.
See following:
$ ls
branches COMMIT_EDITMSG config description GIT_COLA_MSG git-daemon-export-ok gitk.cache HEAD hooks index info logs modules objects ORIG_HEAD refs
$ DEBUG=* gittorrentd
from gittorrent.
Ah, you need to run gittorrentd from the directory above the git repo.
$ ls ./somerepo/.git # should work
$ gittorrentd
from gittorrent.
This way? Still no ouput:
~/SailfishProjects $ ls mitakuuluu3/.git
branches COMMIT_EDITMSG config description GIT_COLA_MSG git-daemon-export-ok gitk.cache HEAD hooks index info logs modules objects ORIG_HEAD refs
~/SailfishProjects $ DEBUG=* gittorrentd
from gittorrent.
Huh. Sorry, running out of ideas..
from gittorrent.
Keep this updated if you figure it out please :)
from gittorrent.
Is it possible that your network blocks outgoing port 6881 connections?
from gittorrent.
Everything is possible. Any way to test it?
from gittorrent.
I'm tempted to say "go somewhere else". :)
from gittorrent.
Well, testing using http://portquiz.net:6881/ passed
from gittorrent.
Was this solved? I have the same problem (gittorrentd just exits after a while).
from gittorrent.
@dpc I ran out of ideas.. could you paste your full terminal session with "DEBUG=* gittorrentd" in case it brings anything up?
from gittorrent.
@cjb stdout: http://sprunge.us/PJIa stderr: http://sprunge.us/cUKE
from gittorrent.
@dpc Thanks, that's interesting. Can you add the below console.log line to gittorrentd and let me know what gets output?
var ls = git.ls(repo, function (sha, ref) {
console.log(repo, sha, ref)
from gittorrent.
http://sprunge.us/LBCM http://sprunge.us/ULWX
from gittorrent.
Thanks. What platform are you on?
from gittorrent.
Fedora 21, x64
from gittorrent.
This line did not executed, did it?
from gittorrent.
No, it didn't. I think git ls-remote mioco
failed. What happens when you run that manually in a shell?
from gittorrent.
[futex:tmp/gittorrent]% git ls-remote mioco
fatal: 'mioco' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
...
[futex:tmp/gittorrent]% cd mioco
[futex:gittorrent/mioco] (master!)% git st
## master...origin/master
(...)
from gittorrent.
And is "mioco/" inside that directory? (Does ls mioco
work?)
from gittorrent.
I edited previous answer.
[futex:gittorrent/mioco] (master!)% cd ..
[futex:tmp/gittorrent]% git ls mioco
[futex:tmp/gittorrent]% cd mioco
[futex:gittorrent/mioco] (master!)% git ls
.gitignore
.travis.yml
Cargo.toml
LICENSE-MPL2
Makefile
README.md
examples/echo.rs
examples/echoplus.rs
examples/mailbox.rs
src/lib.rs
src/tests.rs
from gittorrent.
How about git ls-remote mioco/.git
?
from gittorrent.
[futex:tmp/gittorrent]% git ls-remote mioco/.git
fatal: 'mioco/.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
from gittorrent.
[futex:tmp/gittorrent]% git --version
git version 2.1.0
from gittorrent.
How about:
cd mioco
git ls-remote .
?
from gittorrent.
And do you have any theories on why your git repository doesn't appear to be a git repository? :)
from gittorrent.
[futex:tmp/gittorrent]% cd mioco
[futex:gittorrent/mioco] (master!)% git ls-remote .
cb1d756636b21abfdfea8e50b5828a0dadb2bda1 HEAD
5715f619f1d5fc6a5c7c897a847a04a31898b8a1 refs/heads/32-limit
633217c8dcfd510ef2c633236ab90d66bfbe3288 refs/heads/devel
3f98fc3d0424cf64e42b70d8ed778a13c94d664c refs/heads/dynamic-dispatch
ffc459a246d02cf112cad2822f3edb530b80686f refs/heads/gh-pages
a8639cd0bd957280b605dcbae7a1a4a22c1e3326 refs/heads/mailboxes
cb1d756636b21abfdfea8e50b5828a0dadb2bda1 refs/heads/master
c27d4fec784216703c989f0b153bb85d0239cc4f refs/heads/new-design
4e81bffeacde4259f29b8cfd6eafde2ba1e51ec6 refs/heads/new-design-squash
92a6541869e7a57a6059e0613f6d0c630fa38131 refs/heads/new-select-api
c97d8b13d98bc354282d386cdd427a1cac211cbd refs/heads/new-select-api2
92a6541869e7a57a6059e0613f6d0c630fa38131 refs/heads/new-select-api3
e06a510a0af27df4e8de4f8be6938989f3d2b98b refs/heads/notifyr
df6ff78e7fb514783f86dcfe1f6befc126a7aa38 refs/heads/queue
8b127e6f40a2702e348edfe914e036f6e7cd5ade refs/heads/spin
c97d8b13d98bc354282d386cdd427a1cac211cbd refs/heads/spinfix
b27e5e99151f5d16e65e0150dc8a2b1956ce08e7 refs/heads/test
c871197b42b9d0becf0d6651eda13aca61602d1d refs/heads/tests
5dd4bc4b6fec22214d3e6cad8e93261148e2a053 refs/heads/timer
1f7bbe6b59d5aa57351065d00bf3b0969606c43a refs/heads/wakups
e8cb4bd3e0500fe5be3cc35137de4629bc9673f3 refs/remotes/jeremyjh/devel
0c317e073f539641935dee8dc963c8917ba3b8e6 refs/remotes/jeremyjh/gh-pages
09fa02e5e13cddf216b7d3d01c55d0dbfbbd66ef refs/remotes/jeremyjh/master
365e8765b92cee191d63d7ca4d49ad9d2b790853 refs/remotes/jeremyjh/notify
43c5f0f7bdb58cf459f5de8e55f1b1a36d082baa refs/remotes/jeremyjh/notifyr
5dd4bc4b6fec22214d3e6cad8e93261148e2a053 refs/remotes/jeremyjh/timer
633217c8dcfd510ef2c633236ab90d66bfbe3288 refs/remotes/origin/devel
ffc459a246d02cf112cad2822f3edb530b80686f refs/remotes/origin/gh-pages
cb1d756636b21abfdfea8e50b5828a0dadb2bda1 refs/remotes/origin/master
4e81bffeacde4259f29b8cfd6eafde2ba1e51ec6 refs/remotes/origin/new-design-squash
0418edb63120eafa5ffea700d42420d2793375d1 refs/remotes/origin/test
633217c8dcfd510ef2c633236ab90d66bfbe3288 refs/remotes/sync/devel
cb1d756636b21abfdfea8e50b5828a0dadb2bda1 refs/remotes/sync/master
e80dee56f27702a91d216c3412fc83baf62fba53 refs/tags/release-0.0.2
cdfafd312420d697a2431256ddcfcd3d7438c23d refs/tags/release-0.0.2^{}
3fe9e26594f86cab89bbdb3700fc956f3cc4b43e refs/tags/release-0.0.4
c9df0f7bed8c78d3a5979592c70a086d13d1f3f2 refs/tags/release-0.0.4^{}
from gittorrent.
Oh! Well that's weird.
from gittorrent.
Let me strace this thing...
from gittorrent.
I think the reason is that my ~
is under git control. I've moved the directory to /tmp and now it works, and the line you pasted did print stuff.
from gittorrent.
BTW. What's the deal with "Can't publish mutable key: doesn't fit in 950 bytes." now?
from gittorrent.
It's because you have too many branches. :) That's issue #52.
from gittorrent.
Related Issues (20)
- Bitcoin username registration
- Open to burning coins to an unspendable address? HOT 18
- Namecoin HOT 8
- How to integrate naming services with GitTorrent? HOT 3
- multi protocol handoff HOT 4
- Is this Project abandoned? HOT 26
- Registering the gittorrent: URL scheme
- Private Repos? HOT 2
- Clone hangs forever for self-hosted repo HOT 3
- Ethereum Registry HOT 3
- Possible collaboration with similar project (Gitchain) HOT 4
- Is the project active anymore? HOT 1
- Decouple GitTorrent from blockchain HOT 11
- Public Gittorrent repository as Github clone HOT 1
- Create pull-request at Git-SCM
- same user/repo ? HOT 1
- "WARN deprecated [email protected]" - Time to look closer at older depedencies? HOT 1
- Browser Compatibility
- other js compatibility
- what is the difference between GitTorrent, Gitpay, Gitchain, radicle, gitnonymous?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gittorrent.