CheshireCaat / bas-remote-node

NodeJS library, which allows you to automate Google Chrome browser.
MIT License
28 stars 7 forks source link

getting error ` <h"... is not valid JSON ` on all scripts that where working just fine yesterday, and now 'not so much' #26

Open day0bagz opened 2 weeks ago

day0bagz commented 2 weeks ago

I have this on all three source codes, that where all 3 running fine and efficient yesterday afternoon, now when I run ' node {script} ' I keep getting this error on every one of these scripts.

//ERROR MESSAGE//


undefined:1
<html>
^

SyntaxError: Unexpected token '<', "<html>
<h"... is not valid JSON
    at JSON.parse (<anonymous>)
    at IncomingMessage.<anonymous> (C:\Users\BAGSO\node_modules\bas-remote-node\src\services\utils.js:15:22)
    at IncomingMessage.emit (node:events:531:35)
    at endReadableNT (node:internal/streams/readable:1698:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)

Node.js v22.9.0

All three scripts are returning that same exact error message, under diffrent situations and variables placed.

I do not see or notice an update, on your side. Let me know if you need anymore data from me.