observing / thor

The WebSocket god of thunder
MIT License
1.29k stars 154 forks source link

Install issue (solved) #55

Open Ldes opened 6 years ago

Ldes commented 6 years ago

Hello. Thanks for project. Hope u can fix small issue with installing:

npm install -g thor

npm ERR! Error while executing: npm ERR! /usr/local/bin/git ls-remote -h -t git://github.com/3rd-Eden/ws.git npm ERR! npm ERR! fatal: remote error: npm ERR! Repository not found. npm ERR! npm ERR! exited with error code: 128

Regards.

rvetere commented 6 years ago

yes would be cool if the tool could be installed... just sayin..

fikrikarim commented 6 years ago

From #45:

npm install -g https://github.com/observing/thor
Ldes commented 5 years ago

Thank you, problem solved. npm install -g thor still leads to issue

Repository not found.

Maybe you should specify this option in readme.md instead of the problem one?

dynamite-ready commented 4 years ago

This still appears to be an issue (Windows 8 / NPM 6.9.0) as of 25/06/2020?

ihemantkumar commented 4 years ago

installed but not working on ubuntu

ihemantkumar commented 4 years ago

I had some trouble installing thor. So I installed by downloading the software from git first. I had this issue.


npm ERR! error rolling back Error: EACCES, unlink '/usr/local/bin/thor'
npm ERR! error rolling back  thor@1.0.0 { [Error: EACCES, unlink '/usr/local/bin/thor'] errno: 3, code: 'EACCES', path: '/usr/local/bin/thor' }
npm ERR! Error: EACCES, unlink '/usr/local/bin/thor'
npm ERR!  { [Error: EACCES, unlink '/usr/local/bin/thor'] errno: 3, code: 'EACCES', path: '/usr/local/bin/thor' }
npm ERR! 
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.13.0-168-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "."
npm ERR! cwd /home/ubuntu/thor
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /usr/local/bin/thor
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, unlink '/usr/local/bin/thor'
npm ERR! Error: EACCES, open 'npm-debug.log'
npm ERR!  { [Error: EACCES, open 'npm-debug.log'] errno: 3, code: 'EACCES', path: 'npm-debug.log' }
npm ERR! 
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.13.0-168-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "."
npm ERR! cwd /home/ubuntu/thor
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path npm-debug.log
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, open 'npm-debug.log'
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/ubuntu/thor/npm-debug.log
npm ERR! not ok code 0

Then I installed this software using root.

/home/ubuntu/thor# npm install -g .
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/fast-stats/0.0.3
npm http GET https://registry.npmjs.org/sugar/1.3.8
npm http GET https://registry.npmjs.org/tab
npm http GET https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/ws
npm http 200 https://registry.npmjs.org/sugar/1.3.8
npm http 200 https://registry.npmjs.org/fast-stats/0.0.3
npm http GET https://registry.npmjs.org/sugar/-/sugar-1.3.8.tgz
npm http GET https://registry.npmjs.org/fast-stats/-/fast-stats-0.0.3.tgz
npm http 304 https://registry.npmjs.org/tab
npm http 200 https://registry.npmjs.org/fast-stats/-/fast-stats-0.0.3.tgz
npm http 200 https://registry.npmjs.org/sugar/-/sugar-1.3.8.tgz
npm http GET https://registry.npmjs.org/keypress
npm http GET https://registry.npmjs.org/extsprintf/1.0.1
npm http GET https://registry.npmjs.org/assert-plus/0.1.0
npm http GET https://registry.npmjs.org/carrier/0.1.7
npm http GET https://registry.npmjs.org/strsplit/1.0.0
npm http GET https://registry.npmjs.org/options
npm http GET https://registry.npmjs.org/ultron
npm http 304 https://registry.npmjs.org/keypress
npm http 304 https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/ultron
npm http 200 https://registry.npmjs.org/assert-plus/0.1.0
npm http GET https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.0.tgz
npm http 200 https://registry.npmjs.org/extsprintf/1.0.1
npm http GET https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.1.tgz
npm http 200 https://registry.npmjs.org/strsplit/1.0.0
npm http GET https://registry.npmjs.org/strsplit/-/strsplit-1.0.0.tgz
npm http 200 https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.0.tgz
npm http 200 https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.1.tgz
npm http 200 https://registry.npmjs.org/strsplit/-/strsplit-1.0.0.tgz
npm http 200 https://registry.npmjs.org/carrier/0.1.7
npm http GET https://registry.npmjs.org/carrier/-/carrier-0.1.7.tgz
npm http 200 https://registry.npmjs.org/carrier/-/carrier-0.1.7.tgz
/usr/local/bin/thor -> /usr/local/lib/node_modules/thor/bin/thor
thor@1.0.0 /usr/local/lib/node_modules/thor
├── colors@0.6.2
├── fast-stats@0.0.3
├── async@0.2.10
├── commander@1.1.1 (keypress@0.1.0)
├── ws@1.1.5 (options@0.0.6, ultron@1.0.2)
├── tab@0.1.0 (assert-plus@0.1.0, carrier@0.1.7, extsprintf@1.0.1, strsplit@1.0.0)
└── sugar@1.3.8

Now what?

/home/ubuntu/thor# thor --amount 2000 ws://localhost:8443 wss://localhost:8443 /usr/bin/env: node: No such file or directory I am getting this error. Anyone know what to do next?