Skip to content

Conversation

@akhileshthite
Copy link
Collaborator

@akhileshthite akhileshthite commented Jun 26, 2025

@akhileshthite akhileshthite self-assigned this Jun 26, 2025
@akhileshthite akhileshthite added the enhancement New feature or request label Jun 26, 2025
@akhileshthite
Copy link
Collaborator Author

akhileshthite commented Jul 4, 2025

Getting this.deferred = Promise.withResolvers() even with v20 on staging. Will get back to this in future.

Jul 04 00:02:59 dp npx[2734353]: {"level":30,"time":1751587379675,"pid":2734353,"hostname":"dp","msg":"Initializing protocols"}
Jul 04 00:02:59 dp npx[2734353]: Selected WebRTC port: 51632
Jul 04 00:02:59 dp npx[2734353]: [ipfs] Using public IP for announce: 159.203.10.117
Jul 04 00:02:59 dp npx[2734353]: file:///home/press/api.distributed.press/node_modules/it-queue/src/recipient.ts:9
Jul 04 00:02:59 dp npx[2734353]:     this.deferred = Promise.withResolvers()
Jul 04 00:02:59 dp npx[2734353]:                             ^
Jul 04 00:02:59 dp npx[2734353]: TypeError: Promise.withResolvers is not a function
Jul 04 00:02:59 dp npx[2734353]:     at new JobRecipient (file:///home/press/api.distributed.press/node_modules/it-queue/src/recipient.ts:9:29)
Jul 04 00:02:59 dp npx[2734353]:     at Job.join (file:///home/press/api.distributed.press/node_modules/it-queue/src/job.ts:63:23)
Jul 04 00:02:59 dp npx[2734353]:     at Queue.add (file:///home/press/api.distributed.press/node_modules/it-queue/src/index.ts:290:16)
Jul 04 00:02:59 dp npx[2734353]:     at createReleasable (file:///home/press/api.distributed.press/node_modules/mortice/src/mortice.ts:171:9)
Jul 04 00:02:59 dp npx[2734353]:     at Object.writeLock (file:///home/press/api.distributed.press/node_modules/mortice/src/mortice.ts:254:14)
Jul 04 00:02:59 dp npx[2734353]:     at PersistentStore.getWriteLock (file:///home/press/api.distributed.press/node_modules/@libp2p/peer-store/src/store.ts:134:39)
Jul 04 00:02:59 dp npx[2734353]:     at PersistentPeerStore.patch (file:///home/press/api.distributed.press/node_modules/@libp2p/peer-store/src/index.ts:144:38)
Jul 04 00:02:59 dp npx[2734353]:     at Registrar.unhandle (file:///home/press/api.distributed.press/node_modules/libp2p/src/registrar.ts:125:37)
Jul 04 00:02:59 dp npx[2734353]:     at AutoNATService.stop (file:///home/press/api.distributed.press/node_modules/@libp2p/autonat/src/autonat.ts:158:37)
Jul 04 00:02:59 dp npx[2734353]:     at file:///home/press/api.distributed.press/node_modules/libp2p/src/components.ts:79:40
Jul 04 00:02:59 dp systemd[1]: distributed.press.service: Main process exited, code=exited, status=1/FAILURE
Jul 04 00:02:59 dp systemd[1]: distributed.press.service: Failed with result 'exit-code'.

@akhileshthite akhileshthite removed their assignment Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants