I just updated my node version today to v16. Now when I try to use forever to run an app forever I get an error that prevents me to open my app, I was looking so hard on google to find a solution but I could find anything. Does anyone have a fix or know how to fix it?
(node:1498) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
node:internal/fs/utils:879
throw new ERR_INVALID_ARG_TYPE(
^
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (1505)
at Object.writeFileSync (node:fs:2146:5)
at writePid (/usr/lib/node_modules/forever/bin/monitor:13:6)
at exports.Monitor.<anonymous> (/usr/lib/node_modules/forever/bin/monitor:46:5)
at exports.Monitor.EventEmitter.emit (/usr/lib/node_modules/forever/node_modules/eventemitter2/lib/eventemitter2.js:339:22)
at /usr/lib/node_modules/forever/node_modules/forever-monitor/lib/forever-monitor/monitor.js:180:10
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
code: 'ERR_INVALID_ARG_TYPE'
}