Upon cloning the repo, installing deps, and running node index.js, I get this error:
➜ api git:(main) ✗ node index.js
Duplicated:
There is no duplicated instance!
[17:41:53] Getting Instances' Infos
[17:41:53] Getting Misskey Versions
[17:41:53] GitHub misskey-dev/misskey Start
/home/kainoa/Downloads/api/getInstancesInfos.js:285
).catch(e => { throw Error(e) })
^
Error: TypeError: json.map is not a function
at /home/kainoa/Downloads/api/getInstancesInfos.js:285:25
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
at async getVersions (/home/kainoa/Downloads/api/getInstancesInfos.js:259:17)
at async module.exports.getInstancesInfos (/home/kainoa/Downloads/api/getInstancesInfos.js:303:38)
Node.js v19.8.0
Upon cloning the repo, installing deps, and running
node index.js
, I get this error: