Git Product home page Git Product logo

Comments (9)

sohkai avatar sohkai commented on August 23, 2024

Are you sure your IPFS content was available? And that no ad blockers are mistakenly blocking your files from being loaded?

On https://rinkeby.aragon.org/#/testrewardcourt4/0x1cf4df5ac50ef5b799e18a31bef5b3b2540cb6d6, the app is loading for me.

from aragonos.

vporton avatar vporton commented on August 23, 2024

Are you sure your IPFS content was available? And that no ad blockers are mistakenly blocking your files from being loaded?

You see, it is on localhost. How can it be not available? It is run by npm start that should make it available.

No ad blockers.

On https://rinkeby.aragon.org/#/testrewardcourt4/0x1cf4df5ac50ef5b799e18a31bef5b3b2540cb6d6, the app is loading for me.

I know. I am now about localhost with npm start.

from aragonos.

sohkai avatar sohkai commented on August 23, 2024

You see, it is on localhost. How can it be not available? It is run by npm start that should make it available.

I don't know, but since other apps load, it's most likely something to do with your application's content not being available. Are you running the app frontend on localhost too? Are you running against a local development chain? There are a lot of variables at play and more context would help if you'd like us to help solve it :).

from aragonos.

vporton avatar vporton commented on August 23, 2024

You see, it is on localhost. How can it be not available? It is run by npm start that should make it available.

I don't know, but since other apps load, it's most likely something to do with your application's content not being available. Are you running the app frontend on localhost too? Are you running against a local development chain? There are a lot of variables at play and more context would help if you'd like us to help solve it :).

Yes, I am running the app frontend on localhost too against a local development chain.

from aragonos.

sohkai avatar sohkai commented on August 23, 2024

Are you using the buidler plugin or the CLI? If you're using the CLI, are you running in http mode, or does your published content live on IPFS (if so, do you have your local node up?)?

If not using the buidler plugin, I would highly recommend upgrading to it—it will make your local development much, much easier!

from aragonos.

vporton avatar vporton commented on August 23, 2024

Are you using the buidler plugin or the CLI? If you're using the CLI, are you running in http mode, or does your published content live on IPFS (if so, do you have your local node up?)?

CLI.

My content lives on IPFS started by npm start.

from aragonos.

sohkai avatar sohkai commented on August 23, 2024

Do you have the IPFS CID of your published app's latest version? If you have IPFS running locally, can you do a ipfs ls <cid> and see if it resolves?

It may also be worth looking at the browser's network tab and seeing what requests are failing—you'll most likely see artifact.json and manifest.json files being unresolvable and that would point to why your app isn't getting loaded.

Anyhow, again, it would be a good idea to switch to the buidler plugin, which makes all of this much easier and doesn't require IPFS.

from aragonos.

vporton avatar vporton commented on August 23, 2024

I don't know how to obtain IPFS CID of an app published at localhost. I have an artifact.json and a manifest.json pending loading in the browser. When I try ipfs ls <cid> with the CID taken from these pending URLs, ipfs ls <cid> hangs.

I will try buidler.

from aragonos.

sohkai avatar sohkai commented on August 23, 2024

Yes, that means your app's content is not resolvable, and that's why we can't load it from the frontend!

You may have to publish again, with your own local node, or pin the content to a service like pinata.

Closing as we've resolved the main issue—for future cases, please use our spectrum channel :).

from aragonos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.