help icon indicating copy to clipboard operation
help copied to clipboard

Parse Error: Invalid character in chunk size

Open stoffel7 opened this issue 1 year ago • 1 comments

Version

V20.15.0

Platform

Linux raspberrypi 6.1.21-v7+ nodejs/node#1642 SMP Mon Apr  3 17:20:52 BST 2023 armv7l GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

see following code ` async function Counter() {

httpGet('http://10.10.13.14/counter?PW=&', {
    timeout: 2000
},
(error, response) => {
    if (!error) {
            if (error) {
                log('Fehler  ' + error, 'warn');
            } else {
                log( response.data); 
            }
    } else {
        console.error(error);
    }
});

} Counter(); `

How often does it reproduce? Is there a required condition?

every time with Nodejs V20.15 is does not happen in V18.17

What is the expected behavior? Why is that the expected behavior?

this is the expected output: counter;0;0;0;95998;0;0;0;0;0;713496;0;0

What do you see instead?

script.js.Skript_9: Parse Error: Invalid character in chunk size

Additional information

what is wrong here… with NodeJS V18.17.1 is doesn‘t happen

stoffel7 avatar Jul 02 '24 11:07 stoffel7