Adamant-im / adamant-tradebot

Free self-hosted market-making software for cryptocurrency projects and exchanges. Makes trade volume, maintains spread and liquidity/depth, set price range, and builds live-like dynamic order book.
https://marketmaking.app
540 stars 64 forks source link

Node Module Not Found #14

Closed jigar-bitani closed 2 years ago

jigar-bitani commented 2 years ago

Hello

I have cloned the repository and installed node modules using npm I. After setting up the config file, once I execute the command

pm2 start --name tradebot app.js

It is throwing errors

`Error: Cannot find module 'adamant-api/helpers/keys' Require stack:

Can someone help?

Thanks

jigar-bitani commented 2 years ago

There are some recent changes in the adamant-api package. In the configReader.js, need to make the following change.

const keys = require('adamant-api/src/helpers/keys');

Thanks

adamant-al commented 2 years ago

Hi! Fixed in v5.0.0: https://github.com/Adamant-im/adamant-tradebot/releases/tag/v5.0.0