Open ApopheniaPays opened 2 years ago
This is on an older version, but I will look into this tonight. Apparently, I forgot to ship cli_index in v2 as well. Brilliant.
Alright, so from your output it looks like you cloned this locally. You will definitely need to install all the dependencies in order for it to work. So, cd into the tda-api-client directory. Run npm install
to install all of the dependencies, then try it again!
Let me know.
I have fixed CLI issues in v2.1.1. If you are not able to upgrade to that (which has breaking changes from pre 2.0), let me know how the npm install
thing works out for you and what version you ARE using.
Not a node developer so maybe I'm missing something obvious, I'm just looking for a utility that makes it as easy as possible to consume the TDA API. I've already written a full client that does it, so I know how the API works, but parsing JSON myself is a pain so I'm trying other options.
I took a guess and did
npm i yargs
, which did install something, but the script still isn't working.