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

Could not toggle Ipfs command line tools #1219

Closed
samuelandert opened this issue Oct 27, 2019 · 5 comments
Closed

Could not toggle Ipfs command line tools #1219

samuelandert opened this issue Oct 27, 2019 · 5 comments
Labels
kind/bug A bug in existing code (including security flaws)

Comments

@samuelandert
Copy link

I got an error, while trying to toggle the IPFS command line tool setting:

Please describe what you were doing when this error happened.

Specifications

  • OS: darwin
  • IPFS Desktop Version: 0.9.7
  • Electron Version: 6.0.12
  • Chrome Version: 76.0.3809.146

Error

Error: Command failed: env ELECTRON_RUN_AS_NODE=1 "/Applications/IPFS Desktop.app/Contents/MacOS/IPFS Desktop" "/Applications/IPFS Desktop.app/Contents/Resources/app.asar/out/ipfs-on-path/scripts/install.js" --data="/Users/samuelandert/Library/Application Support/IPFS Desktop"
fs.js:126
    throw err
@rex4539
Copy link

rex4539 commented Oct 28, 2019

If you are on macOS 10.15 Catalina, it's probably a permissions issue. See also ipfs-shipyard/npm-on-ipfs#119

@hacdias
Copy link
Member

hacdias commented Oct 28, 2019

@rex4539 thanks for helping out here. I doubt it's related to permissions, but it can be! This is not npm on ipfs, but the ipfs command line tool.

@samuelandert I also have Catalina and it works well here... what version do you have? Unfortunately, I don't have much info per the logs. I will see what I can do!

@samuelandert
Copy link
Author

@hacdias yes, I am on Catalina 10.15
@rex4539 I tried the permissions, but it didn't changed anything.

@hacdias hacdias added the kind/bug A bug in existing code (including security flaws) label Nov 6, 2019
@hacdias
Copy link
Member

hacdias commented Nov 13, 2019

@samuelandert this might seem stupid, but could you try running that command manually through the Terminal?

env ELECTRON_RUN_AS_NODE=1 "/Applications/IPFS Desktop.app/Contents/MacOS/IPFS Desktop" "/Applications/IPFS Desktop.app/Contents/Resources/app.asar/out/ipfs-on-path/scripts/install.js" --data="/Users/samuelandert/Library/Application Support/IPFS Desktop"

And show me the output please.

@hacdias
Copy link
Member

hacdias commented Apr 24, 2020

I'm closing this since we no longer got a reply from the author and I can't reproduce it on Catalina. However, if the issue persists, feel free to open a new issue.

@hacdias hacdias closed this as completed Apr 24, 2020
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