Skip to content

Errors out immediately after running #1

@throwitaway99

Description

@throwitaway99

Upon running it, I immediately get this after it is done downloading the standard options file:

node:fs:2376
    validateStringAfterArrayBufferView(data, 'data');
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Object
    at Object.writeFileSync (node:fs:2376:5)
    at file:///C:/Users/Name/Downloads/RoonCordJS/index.js:66:12
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_INVALID_ARG_TYPE'
}

I am running on Windows 11. I tried on a different machine, different releases of NodeJS 20 LTS, etc. - same issue. There is a more recently developed Rich Presence application for Roon - albeit with its quirks - so I wanted to try yours (I also liked that yours shows whether or not the song is paused).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions