js-ipfsd-ctl icon indicating copy to clipboard operation
js-ipfsd-ctl copied to clipboard

NULL API fatal error

Open rafaelramalho19 opened this issue 4 years ago • 1 comments

Description:

  • When restarting the computer, or some similar use-case where the API is not initialized yet for some reason, ipfsd-ctl throws a fatal error:
TypeError: Cannot read property 'pid' of null
    at Timeout._onTimeout (C:\Program Files\IPFS Desktop\resources\app.asar\node_modules\ipfsd-ctl\src\ipfsd-daemon.js:242:101)

Linked with: https://github.com/ipfs-shipyard/ipfs-desktop/issues/1702

rafaelramalho19 avatar Oct 26 '20 16:10 rafaelramalho19

That code has been refactored recently, can you please try with the latest version?

achingbrain avatar Oct 26 '20 20:10 achingbrain

Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.

github-actions[bot] avatar Oct 26 '22 00:10 github-actions[bot]

This issue was closed because it is missing author input.

github-actions[bot] avatar Nov 02 '22 00:11 github-actions[bot]