Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference error? #4

Open
Onkovat opened this issue Aug 10, 2019 · 0 comments
Open

Reference error? #4

Onkovat opened this issue Aug 10, 2019 · 0 comments

Comments

@Onkovat
Copy link

Onkovat commented Aug 10, 2019

Hello,

I set it up on windows, then ran npm install in the directory and it downloaded all the needed libraries.

Then it claimed there wer securits risks and I ran npm audit fix.

Then node deribit.js where I just entered the api details from test.deribit.

Then I receive this error:

`C:\Users\admin\Desktop\marketmaker-master>node deribit.js
C:\Users\admin\Desktop\marketmaker-master\deribit.js:114
doc.useServiceAccountAuth(creds, step);
^

ReferenceError: doc is not defined
at setAuth (C:\Users\admin\Desktop\marketmaker-master\deribit.js:114:9)
at C:\Users\admin\Desktop\marketmaker-master\node_modules\async\lib\async.js:718:13
at iterate (C:\Users\admin\Desktop\marketmaker-master\node_modules\async\lib\async.js:262:13)
at async.forEachOfSeries.async.eachOfSeries (C:\Users\admin\Desktop\marketmaker-master\node_modules\async\lib\async.js:281:9)
at _parallel (C:\Users\admin\Desktop\marketmaker-master\node_modules\async\lib\async.js:717:9)
at Object.async.series (C:\Users\admin\Desktop\marketmaker-master\node_modules\async\lib\async.js:739:9)
at Object. (C:\Users\admin\Desktop\marketmaker-master\deribit.js:110:7)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)

C:\Users\admin\Desktop\marketmaker-master>`

Does anyone know how to fix this?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant