davidmarkclements / 0x

🔥 single-command flamegraph profiling 🔥

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERR_INVALID_ARG_TYPE

ixdfan opened this issue · comments

$ 0x -- node --inspect --trace-warnings TSW config=../../configs/config.local
ProfilingDebugger listening on ws://127.0.0.1:9229/0df40649-bd83-4ea3-86a1-81bea42b7b15
For help, see: https://nodejs.org/en/docs/inspector
net.js:111
  throw new ERR_INVALID_FD_TYPE(type);
  ^

TypeError [ERR_INVALID_FD_TYPE]: Unsupported fd type: FILE
    at createHandle (net.js:111:9)
    at new Socket (net.js:262:20)
    at Object.<anonymous> (node_modules\0x\lib\preload\redir-stdout.js:11:18)
    at Module._compile (internal/modules/cjs/loader.js:688:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
    at Module.load (internal/modules/cjs/loader.js:598:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
    at Function.Module._load (internal/modules/cjs/loader.js:529:3)
    at Module.require (internal/modules/cjs/loader.js:636:17)
    at Module._preloadModules (internal/modules/cjs/loader.js:811:12)
Target subprocess error, code: 1
Process exited, generating flamegraphTypeError [ERR_INVALID_ARG_TYPE]:
The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at join (path.js:432:7)
    at v8.catch (\npm\node_modules\0x\index.js:76:27)
    at process._tickCallback (internal/process/next_tick.js:68:7)
Done in 0.83s.