You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: