Giter VIP home page Giter VIP logo

Comments (6)

gnunicorn avatar gnunicorn commented on September 13, 2024 3

It seems less likely to occurs if build from a fresh node template.

On what type of machine are you building? How long does the build take until that point?

Rust isn't particular quick with the compiling at the moment and opaque to the person in front, at this step we are actually building the project twice: once natively and once in wasm. So at some step in between it appears as if nothing happens and that can take up to half the total build time – if the other part took e.g. 10minutes then this process might take another 10min without any indicator of process (other than the CPU pumping hard).

from substrate-node-template.

danforbes avatar danforbes commented on September 13, 2024

Hi, I have encountered this problem as well. Question: are you trying to build a "fresh" node template or is this something you've been hacking on for a while? I think I encounter this problem only in the latter circumstance. Can you try running cargo clean and rebuilding? Unfortunately it means you will have to start the build the scratch, but this is the kind of thing that has helped me in the past.

from substrate-node-template.

boundless-forest avatar boundless-forest commented on September 13, 2024
  1. It seems less likely to occurs if build from a fresh node template.
  2. The project I am working on is relatively large, the process I experience was that building until runtime crate, hangs for some time, then I ctrl+c to abort the compiling process. Finally, cargo clean and rebuild, it might be ok. Too much time wasted ... you must know.

from substrate-node-template.

danforbes avatar danforbes commented on September 13, 2024

@gnunicorn, @bkchr - is this a situation that either of you is familiar with?

from substrate-node-template.

danforbes avatar danforbes commented on September 13, 2024

@AsceticBear - can you please let us know if you have any follow-up questions? If not, please close this Issue 🙏

from substrate-node-template.

boundless-forest avatar boundless-forest commented on September 13, 2024

Sorry for the late reply.

Machine type: 8 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz Ubuntu 20.04
Rustc version: rustc 1.48.0-nightly (7f7a1cbfd 2020-09-27)

It takes 20 minutes to finish cargo check the raw substrate-node-template on this machine. Thank you all for your reply, I close this issue.

from substrate-node-template.

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.