9-analyzer icon indicating copy to clipboard operation
9-analyzer copied to clipboard

Error while starting

Open DeepflashX opened this issue 10 months ago • 0 comments

I tried your commit on Linux and Windows, both without luck. First the Buffer() seems to be deprecated. I replaced it with Buffer.alloc() but then another error comes up: Node.js v20.12.2

C:\Users\rogue\Downloads\9-analyzer-master>npm start

[email protected] start node index.js

Reading file C:\Users\rogue\Downloads\9-analyzer-master/logfiles/unlockThenRideHexNoParsingV2.log node:internal/errors:541 throw error; ^

TypeError [ERR_INVALID_ARG_TYPE]: The "size" argument must be of type number. Received an instance of Array at new alloc (node:buffer:389:3) at Parser.frameToString (C:\Users\rogue\Downloads\9-analyzer-master\parser.js:105:35) at C:\Users\rogue\Downloads\9-analyzer-master\index.js:26:19 at Array.forEach () at Object. (C:\Users\rogue\Downloads\9-analyzer-master\index.js:25:8) at Module._compile (node:internal/modules/cjs/loader:1369:14) at Module._extensions..js (node:internal/modules/cjs/loader:1427:10) at Module.load (node:internal/modules/cjs/loader:1206:32) at Module._load (node:internal/modules/cjs/loader:1022:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) { code: 'ERR_INVALID_ARG_TYPE' }

Node.js v20.12.2

Do you have an idea.

DeepflashX avatar Apr 12 '24 12:04 DeepflashX