Post
Topic
Board Trading Discussion
Re: Gekko - a javascript trading bot for nodejs
by
jago25_98
on 11/07/2013, 18:29:36 UTC
Code:
module.js:337
    throw new Error("Cannot find module '" + request + "'");
          ^
Error: Cannot find module 'moment'
    at Function._resolveFilename (module.js:337:11)
    at Function._load (module.js:279:25)
    at Module.require (module.js:359:17)
    at require (module.js:375:17)
    at Object. (/home/pi/src/gekko/gekko.js:20:14)
    at Module._compile (module.js:446:26)
    at Object..js (module.js:464:10)
    at Module.load (module.js:353:32)
    at Function._load (module.js:311:12)
    at Array.0 (module.js:484:10)

Code:
$ ls -R
.:
config.js  docs  exchanges  gekko.js  logger.js  log.js  mailer.js  methods  package.json  portfolioManager.js  README.md  util.js

./docs:
Advanced_features.md  Backtesting.md  Configuring_gekko.md  Exchanges.md  installing_gekko_on_windows.md  Known_problems.md

./exchanges:
bitcoincharts.js  bitstamp.js  btce.js  mtgox.js

./methods:
exponential-moving-averages.js  historical-candle-fetcher.js  realtime-candle-fetcher.js
(following fresh git checkout)

Any ideas?