Closed KieronWiltshire closed 8 years ago
require was fixed, npm 0.6.6 underscore is NOT a depencency. lodash is
betfair has hard-coded obsolete version of emulator in packet.json, I fixed it
When installing 0.6.7 via NPM, both lib/session.js
and src/lib/session.js
reference the /opts/projects/betfair-emulator
package.
//let Emulator = require('betfair-emulator');
var Emulator = require('/opt/projects/betfair-emulator');
However I can see the changes within the repo?
@gRoberts84
betfair has hard-coded obsolete version of emulator in packet.json, I fixed it - AlgoTrader
FYI - The version you've just pushed to NPM no longer works.
The end user will now need to build before they can use it, where as before, it already had the built lib
directory.
My apologies.
Tries to find it at "opt/projects/betfair-emulator", should just be "betfair-emulator", also underscore should be a dependency within the "betfair-emulator" package.