Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error while starting #3

Open
DeepflashX opened this issue Apr 12, 2024 · 0 comments
Open

Error while starting #3

DeepflashX opened this issue Apr 12, 2024 · 0 comments

Comments

@DeepflashX
Copy link

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

9-analyzer@1.0.0 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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant