Closed xpepermint closed 7 years ago
What version/commit of gdax-node
are you using? I'm unable to recreate this error.
Since you're on Node 8, are you using npm 5? Because the error is being thrown from a different lib, maybe try deleting the generated package-lock.json
and doing a fresh npm install
.
The one that's published on NPM and yes, I'm using npm5.
Hmm, is it normal to have a doubly-nested node_modules
folder?
myproject/node_modules/gdax/node_modules/ws/lib/Sender.js
When I npm install gdax
in a new directory, the node_modules
directory is flat, e.g. gdax
and ws
are siblings.
We had to scale up our websocket stack yesterday due to huge demand, this probably caused some issues in the meantime. I'm closing this for now, please let me know if this is still an issue.
@fb55 Getting the same error on Node LTS (6.10.0), all other API functions working.
@fb55 Upgrading to npm ws (1.1.1 -> 3.0.0) fixed for me, any particular reason the master is using this extremely outdated version? If not I'll submit a pull request.
There isn't a reason, only that nobody looked into it so far. A PR would definitely be welcome.
We should set up Greenkeeper at some point to make sure we're up to date.
Executing the code below (example from the readme)
fails with
Using
node v8.1.1
.