You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: