Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm start failed with Error: resource temporarily unavailable #724

Closed
dfang opened this issue Nov 28, 2018 · 2 comments
Closed

npm start failed with Error: resource temporarily unavailable #724

dfang opened this issue Nov 28, 2018 · 2 comments
Labels
kind/bug A bug in existing code (including security flaws)

Comments

@dfang
Copy link

dfang commented Nov 28, 2018

Please describe what you were doing when this error happened.

Specifications

  • OS: darwin
  • IPFS Desktop Version: 3.0.10
  • Electron Version: 3.0.10
  • Chrome Version: 66.0.3359.181

Error

Error: Command failed: /Users/mj/GitHub/ipfs-desktop/node_modules/go-ipfs-dep/go-ipfs/ipfs daemon --migrate=true --routing=dhtclient
Error: resource temporarily unavailable

Initializing daemon...
go-ipfs version: 0.4.18-
Repo version: 7
System version: amd64/darwin
Golang version: go1.11.1
Received interrupt signal, shutting down...
(Hit ctrl-c again to force-shutdown the daemon.)

    at makeError (/Users/mj/GitHub/ipfs-desktop/node_modules/execa/index.js:174:9)
    at Promise.all.then.arr (/Users/mj/GitHub/ipfs-desktop/node_modules/execa/index.js:278:16)
    at process._tickCallback (internal/process/next_tick.js:68:7)
@lidel
Copy link
Member

lidel commented Nov 28, 2018

@dfang thank you for reporting this issue!

I think the error is caused by a stale lockflile.
Did you experience an unclean shutdown?

Try..

  • running ipfs repo fsck
  • OR manually removing three files: api, datastore/LOCK and repo.lock from your $IPFS_PATH directory

.. and starting ipfs-desktop again.

Let me know if this helped.

@lidel lidel added the kind/bug A bug in existing code (including security flaws) label Nov 28, 2018
@lidel lidel changed the title npm start failed npm start failed with Error: resource temporarily unavailable Nov 28, 2018
@hacdias hacdias closed this as completed Dec 21, 2018
@lidel
Copy link
Member

lidel commented Dec 25, 2018

@dfang this should be fixed in v0.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws)
Projects
None yet
Development

No branches or pull requests

3 participants