Category : protocols

How to convert this backend code to javascript? my inputs are hex data without (0x) in one sentence like this one ("c01fgh8751") is equivalent of 0xc0 0x1f 0xgh 0x87 0x51 Right data: input1 = c0a80ae7534d415254434c4f5544aaaa0F03FEFFFE0031015505000001 crc = 91D8 input2 = c0a80ae7534d415254434c4f5544aaaa0F03FEFFFE0031015505640001 crc = D673 https://gist.github.com/chitchcock/5112270 this code does not help C code from docs This ..

Read more

Please, direct me what should I write in .eslintrc in my situation. https://github.com/nodejs/node/issues/38343 https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-node-protocol.md If I deny this rule I got error: import path from "path"; // ESLint: Prefer `node:path` over `path`.(unicorn/prefer-node-protocol) Else I got this error: import path from "node:path"; // ESLint: Unable to resolve path to module ‘node:path’.(import/no-unresolved) I want to use both ..

Read more

Full error is: UnhandledPromiseRejectionWarning: Error: Protocol error (Page.navigate): Invalid parameters Failed to deserialize params.url – BINDINGS: mandatory field missing at position 49 I get this error only with one url over about 10, the url is: https://www.xxx-xxxxxxx.com/xxxxx-xxxxxx/en/home.html (all x are normal letters) i’m using a standard: await page.goto(urllink, { waitUntil: ‘domcontentloaded’, }); any idea? Source: ..

Read more