The script worked fine on Windows 10, but I get this output after switching to Windows 11:
‼ WARNING Following folk/s have unfollowed you recently.
× Fetching GitHub followers
C:\Users\Eduardo\AppData\Roaming\npm\node_modules\who-unfollowed-me\utils\cli.js:38
if (error.response.status === 404) {
^
TypeError: Cannot read properties of undefined (reading 'status')
at module.exports (C:\Users\Eduardo\AppData\Roaming\npm\node_modules\who-unfollowed-me\utils\cli.js:38:22)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async module.exports (C:\Users\Eduardo\AppData\Roaming\npm\node_modules\who-unfollowed-me\index.js:29:2)
The script worked fine on Windows 10, but I get this output after switching to Windows 11:
‼ WARNING Following folk/s have unfollowed you recently. × Fetching GitHub followers C:\Users\Eduardo\AppData\Roaming\npm\node_modules\who-unfollowed-me\utils\cli.js:38 if (error.response.status === 404) { ^
TypeError: Cannot read properties of undefined (reading 'status') at module.exports (C:\Users\Eduardo\AppData\Roaming\npm\node_modules\who-unfollowed-me\utils\cli.js:38:22) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async module.exports (C:\Users\Eduardo\AppData\Roaming\npm\node_modules\who-unfollowed-me\index.js:29:2)