Error while processing v8.log - TypeError [ERR_INVALID_ARG_TYPE]
While processing attached v8 log, following error is thrown.
internal/fs/utils.js:537 throw new ERR_INVALID_ARG_TYPE(propName, ['string', 'Buffer', 'URL'], path); ^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
at Object.open (fs.js:424:10)
at ReadStream.open (internal/fs/streams.js:146:13)
at new ReadStream (internal/fs/streams.js:134:10)
at Object.createReadStream (fs.js:1888:10)
at Object.
Could you please help me here.
Same issue there
works for me. (it looks like flamebearer cannot be run without any args, but it does parse the flamegraph pretty well)
node --prof app.js
node --prof-process --preprocess -j isolate*.log | flamebearer
I have tested with both nodev14 and nodev16