askmike / gekko

A bitcoin trading bot written in node - https://gekko.wizb.it/
MIT License
10.06k stars 3.95k forks source link

Kraken module cannot be found [ Linux ] #203

Closed thecao365 closed 10 years ago

thecao365 commented 10 years ago

i run on Debian

Error:

node gekko.js 

Gekko encountered an error and can't continue

Meta debug info:

Gekko version: v0.0.7
Nodejs version: v0.10.25

Error:

Kraken module cannot be found, if you are on Windows read this:
https://github.com/askmike/gekko/issues/202 
askmike commented 10 years ago

Did you run npm install before running Gekko? And could you post the output of npm list?

thecao365 commented 10 years ago
sudo npm install

> microtime@0.5.1 install /code/btce/node_modules/microtime
> node-gyp rebuild

make: Entering directory `/code/btce/node_modules/microtime/build'
  CXX(target) Release/obj.target/microtime/src/microtime.o
  SOLINK_MODULE(target) Release/obj.target/microtime.node
  SOLINK_MODULE(target) Release/obj.target/microtime.node: Finished
  COPY Release/microtime.node
make: Leaving directory `/code/btce/node_modules/microtime/build'

==============

gekko@0.0.7 /code/btce
├── async@0.2.10
├─┬ bitstamp@0.1.4
│ └── underscore@1.4.4
├─┬ btc-e@0.0.12
│ └─┬ request@2.16.6
│   ├── aws-sign@0.2.0
│   ├── cookie-jar@0.2.0
│   ├── forever-agent@0.2.0
│   ├─┬ form-data@0.0.10
│   │ ├── async@0.2.10
│   │ └─┬ combined-stream@0.0.4
│   │   └── delayed-stream@0.0.5
│   ├─┬ hawk@0.10.2
│   │ ├── boom@0.3.8
│   │ ├── cryptiles@0.1.3
│   │ ├── hoek@0.7.6
│   │ └── sntp@0.1.4
│   ├── json-stringify-safe@3.0.0
│   ├── mime@1.2.11
│   ├── node-uuid@1.4.1
│   ├── oauth-sign@0.2.0
│   ├── qs@0.5.6
│   └── tunnel-agent@0.2.0
├─┬ cexio@0.0.5
│ └── underscore@1.5.2
├── irc@0.3.6 extraneous
├─┬ kraken-api@0.1.2
│ ├─┬ microtime@0.5.1
│ │ ├── bindings@1.1.1
│ │ └── nan@0.6.0
│ ├── querystring@0.2.0
│ └─┬ request@2.33.0
│   ├── aws-sign2@0.5.0
│   ├── forever-agent@0.5.2
│   ├─┬ form-data@0.1.2
│   │ └─┬ combined-stream@0.0.4
│   │   └── delayed-stream@0.0.5
│   ├─┬ hawk@1.0.0
│   │ ├── boom@0.4.2
│   │ ├── cryptiles@0.2.2
│   │ ├── hoek@0.9.1
│   │ └── sntp@0.2.4
│   ├─┬ http-signature@0.10.0
│   │ ├── asn1@0.1.11
│   │ ├── assert-plus@0.1.2
│   │ └── ctype@0.5.2
│   ├── json-stringify-safe@5.0.0
│   ├── mime@1.2.11
│   ├── node-uuid@1.4.1
│   ├── oauth-sign@0.3.0
│   ├── qs@0.6.6
│   ├─┬ tough-cookie@0.12.1
│   │ └── punycode@1.2.3
│   └── tunnel-agent@0.3.0
├── line-reader@0.2.3
├── lodash@2.4.1
├─┬ microtime@0.5.1 extraneous
│ ├── bindings@1.1.1
│ └── nan@0.6.0
├── moment@2.4.0
├─┬ mtgox-apiv2@1.0.6
│ ├─┬ JSONStream@0.6.4
│ │ ├── jsonparse@0.0.5
│ │ └── through@2.2.7
│ ├── querystring@0.2.0
│ └─┬ request@2.21.0
│   ├── aws-sign@0.3.0
│   ├── cookie-jar@0.3.0
│   ├── forever-agent@0.5.2
│   ├─┬ form-data@0.0.8
│   │ └─┬ combined-stream@0.0.4
│   │   └── delayed-stream@0.0.5
│   ├─┬ hawk@0.13.1
│   │ ├─┬ boom@0.4.2
│   │ │ └── hoek@0.9.1
│   │ ├── cryptiles@0.2.2
│   │ ├── hoek@0.8.5
│   │ └─┬ sntp@0.2.4
│   │   └── hoek@0.9.1
│   ├─┬ http-signature@0.9.11
│   │ ├── asn1@0.1.11
│   │ ├── assert-plus@0.1.2
│   │ └── ctype@0.5.2
│   ├── json-stringify-safe@4.0.0
│   ├── mime@1.2.11
│   ├── node-uuid@1.4.1
│   ├── oauth-sign@0.3.0
│   ├── qs@0.6.6
│   └── tunnel-agent@0.3.0
├─┬ nedb@0.9.4
│ ├── async@0.2.9
│ ├── binary-search-tree@0.2.3
│ ├── mkdirp@0.3.5
│ └── underscore@1.4.4
├── node-web-server@1.1.2 extraneous
├── nodejs-websocket@0.1.4 extraneous
├─┬ nodeunit@0.8.2
│ └─┬ tap@0.4.8
│   ├── buffer-equal@0.0.0
│   ├── deep-equal@0.0.0
│   ├─┬ difflet@0.2.6
│   │ ├── charm@0.1.2
│   │ ├── deep-is@0.1.2
│   │ └── traverse@0.6.6
│   ├─┬ glob@3.2.8
│   │ ├── inherits@2.0.1
│   │ └─┬ minimatch@0.2.14
│   │   ├── lru-cache@2.5.0
│   │   └── sigmund@1.0.0
│   ├── inherits@2.0.1
│   ├── mkdirp@0.3.5
│   ├─┬ nopt@2.1.2
│   │ └── abbrev@1.0.4
│   ├─┬ runforcover@0.0.2
│   │ └─┬ bunker@0.1.2
│   │   └─┬ burrito@0.2.12
│   │     ├── traverse@0.5.2
│   │     └── uglify-js@1.1.1
│   ├── slide@1.1.5
│   └── yamlish@0.0.5
├── redis@0.10.0 extraneous
└── semver@2.2.1

npm ERR! extraneous: irc@0.3.6 /code/btce/node_modules/irc
npm ERR! extraneous: redis@0.10.0 /code/btce/node_modules/redis
npm ERR! extraneous: microtime@0.5.1 /code/btce/node_modules/microtime
npm ERR! not ok code 0
thecao365 commented 10 years ago

after the update, it worked again.

Tks askmike.

askmike commented 10 years ago

Awesome thanks!