mini-breakpad-server icon indicating copy to clipboard operation
mini-breakpad-server copied to clipboard

The "offset" argument must be of type number. Received type string

Open skarl-api opened this issue 6 years ago • 3 comments

(node:19546) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. Listening on port 1127 TypeError [ERR_INVALID_ARG_TYPE]: The "offset" argument must be of type number. Received type string

skarl-api avatar Nov 14 '19 06:11 skarl-api

I see the same error on the server side when posting dump file, have you figured it out ?

Thanks.

penjiu avatar Dec 17 '19 09:12 penjiu

I see the same error on the server side when posting dump file, have you figured it out ?

Thanks.

Maru-z avatar Mar 12 '20 07:03 Maru-z

add "os.tmpDir = os.tmpdir;" line in node_module/temp/lib/temp.js 's 6th line, like this: `var fs = require('fs'), os = require('os'), path = require('path'), cnst = require('constants');

os.tmpDir = os.tmpdir; /* HELPERS */`

but i got error below when click uploaded dump file in server, can anyone help me? Error at ChildProcess. (D:\xxxx\mini-breakpad-server\node_modules\minidump\lib\minidump.js:41:25) at ChildProcess.emit (events.js:400:28) at maybeClose (internal/child_process.js:1058:16) _at Process.ChildProcess.handle.onexit (internal/child_process.js:293:5)

thank you~~

lykiao avatar May 12 '22 13:05 lykiao