Open escwdev opened 4 years ago
Hi, Just started getting errors in my script, seems like it may be related to this issue. Please let me know what you suggest. Thanks much
Error: Cannot find module 'kucoin-node-api'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.
So whatever issue you're having wouldn't be related to this particular case as it is just up to represent missing endpoints.
For your problem, it's hard to tell without any code samples. From the looks of that it seems you may have incorrectly imported the module (kucoin-node-api) into your project. Did you install via NPM or by linking through the library locally on your system?
@kevingallagher34 are you using typescript? Did you run install the deps?
rm -rf node_modules
npm install # or yarn
I only run into this issue because the package doesn't have Typescript interfaces (which I opened #36 for), but hopefully @escwdev has some time to add some types.
There are a bunch of new endpoints related to Kucoin margin trading that need to be added. Putting here for visibility. I may get around to it but will also review and accept any contributions that are solid.