scratch-api
scratch-api copied to clipboard
Program continues before password can be entered
Ok, so I just installed this and I can't figure out what I'm doing wrong:
I'm using the example backpack script (in the README), and my command prompt is prompting me for my Username and Password. Problem is, the program continues the moment it prompts for the password, so it is missing information and ends with the error
Error: This field is required. at C:\Users\Kids\Desktop\Scratch API\node_modules\scratch-api\scratchapi.js:100:31 at IncomingMessage.<anonymous> (C:\Users\Kids\Desktop\Scratch API\node_modules\scratch-api\scratchapi.js:37:37) at IncomingMessage.emit (events.js:388:22) at endReadableNT (internal/streams/readable.js:1336:12) at processTicksAndRejections (internal/process/task_queues.js:82:21)
If it helps, I'm using nodemon too.