Open stoffel7 opened 5 days ago
V20.15.0
Linux raspberrypi 6.1.21-v7+ nodejs/node#1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
No response
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(); `
every time with Nodejs V20.15 is does not happen in V18.17
this is the expected output: counter;0;0;0;95998;0;0;0;0;0;713496;0;0
counter;0;0;0;95998;0;0;0;0;0;713496;0;0
script.js.Skript_9: Parse Error: Invalid character in chunk size
what is wrong here… with NodeJS V18.17.1 is doesn‘t happen
Hi! Thanks for the report, can you provide a minimal reproducible example? One that utilizes only Node.js features?
Version
V20.15.0
Platform
Subsystem
No response
What steps will reproduce the bug?
see following code ` async function Counter() {
} 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