aragon / aragon-desktop

(Aragon 1) Managing an decentralized organization on a desktop near you
GNU General Public License v3.0
37 stars 17 forks source link

Could not start IPFS instance #72

Open Vivi728 opened 5 years ago

Vivi728 commented 5 years ago

when I run npm start , I got this: image How to start IPFS instance?

luisivan commented 5 years ago

This is basically the same issue as https://github.com/aragon/aragon-cli/issues/505, one link seems to be broken in one of the dependencies we are using :/

Vivi728 commented 5 years ago

That is to say, there is no solution yet,right?

luisivan commented 5 years ago

Not sure, any thoughts @0xGabi?

0xGabi commented 5 years ago

@Vivi728 can you check again? We experienced an issue with the reliability when downloading IPFS, we will work to fix it. In case you are still experience the same you can try running aragon ipfs before ran npm start. To install the aragon binary ran npm i -g @aragon/cli

Vivi728 commented 5 years ago

It'is so bad when I run npm i -g @aragon/cli image

0xGabi commented 5 years ago

Hey @Vivi728 I believe this is a problem with how you have permissions setup for node on you machine. Can you try: sudo npm i -g --unsafe-perm @aragon/cli

Vivi728 commented 5 years ago

Yes, I tried. There are still mistakes. image

0xGabi commented 5 years ago

@Vivi728 sorry for all this troubles. This is an issue with IPFS the last couple of days. The download is not been reliable. We already ask them for help here: https://github.com/ipfs/go-ipfs/issues/6451

Vivi728 commented 5 years ago

@0xGabi Is there any progress?

0xGabi commented 5 years ago

@Vivi728 seems to be working now. But might be unreliable. We are considering other options for future versions.

Vivi728 commented 5 years ago

@0xGabi It seems that everything is back to its original point. image

0xGabi commented 5 years ago

@Vivi728 Hey sorry that I took longer to answer you. I think you still don't have ipfs installed, this answer might help if you struggle with that.

Then I also recommend you ran aragon ipfs before npm run start. I tested both linux and macOS and it worked that way for me.

Anyways I bumped a couple of issue with openssl and scrypt dependency. I plan to take a look more in detail and update the repo a bit..hopefully improving the developer experience.

Vivi728 commented 5 years ago

@0xGabi Hey is there a complete installation documentation?

0xGabi commented 5 years ago

@Vivi728 You mean for Aragon desktop?

Vivi728 commented 5 years ago

and aragon-cli .

Vivi728 commented 5 years ago

@0xGabi I've installed Aragon desktop successfully,but something wrong with aragon cli like that: image Is thak ok?

0xGabi commented 5 years ago

@vivi728 Hey so you were able to ran Aragon desktop and the IPFS works fine?

About the aragonCLI you should ran: npm run prepare instead. We explain why we are doing it as well as other development decisions on our internal documentation. Hope you find it useful.

Going forward we can keep the aragonCLI discussion over Aragon chat, my handle is gabi over there.

Vivi728 commented 5 years ago

@0xGabi Yeah, but I need to start ipfs service manually , then start the Aragon desktop, otherwise I will get an error like " Could not start IPFS service" , just like before.

0xGabi commented 5 years ago

Ok, thanks for clarifying it