Need help with Node error with Pagermon client under WSL

polkaroo

Missed him again!
Joined
Apr 14, 2002
Messages
413
So I'm trying to run Pagermon under Windows Subsystem for Linux. It does run, decodes one or a few bursts of data, sends data to the server successfully but then crashes within 5 minutes. I'm not sure what this means other than it looks like a node.js error if anyone with more knowledge able to help me out? Same error when using the latest node.js LTS v22.14.0 installed via nvm. Thanks.


Code:
$ ./reader.sh
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001


Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to 33.80 dB.
Tuned to 929640300 Hz.
Oversampling input by: 64x.
Oversampling output by: 1x.
Buffer size: 5.80ms
Exact sample rate is: 1411200.013458 Hz
Allocating 15 zero-copy buffers
Sampling at 1411200 S/s.
Output at 22050 Hz.
2025-03-25 18:13:43: 001573259: <redacted> Priority:Low thanks so much
2025-03-25 18:13:43: 001783265: <redacted>
2025-03-25 18:13:43: 001488256: 74556000000000000000000000
node:internal/readline/emitKeypressEvents:74
            throw err;
            ^


TypeError: Cannot read properties of null (reading '1')
    at Interface.<anonymous> (/home/pagermon/pagermon/client/reader.js:121:77)
    at Interface.emit (node:events:517:28)
    at [_onLine] [as _onLine] (node:internal/readline/interface:423:12)
    at [_line] [as _line] (node:internal/readline/interface:894:18)
    at [_ttyWrite] [as _ttyWrite] (node:internal/readline/interface:1281:24)
    at Socket.onkeypress (node:internal/readline/interface:271:20)
    at Socket.emit (node:events:517:28)
    at emitKeys (node:internal/readline/utils:371:14)
    at emitKeys.next (<anonymous>)
    at Socket.onData (node:internal/readline/emitKeypressEvents:64:36)


Node.js v18.19.1
Signal caught, exiting!


User cancel, exiting...
 
Last edited:
Top