Giter Club home page Giter Club logo

Comments (5)

bkchr avatar bkchr commented on June 11, 2024 1

Please check the command I posted above. It starts with SKIP_WASM_BUILD=1, please do the same.

from polkadot.

bkchr avatar bkchr commented on June 11, 2024

I can not reproduce. Try stable rust.

from polkadot.

bkchr avatar bkchr commented on June 11, 2024

Okay, I could actually reproduce it.

Please run the following command to fix the build:

SKIP_WASM_BUILD=1 cargo install --git https://github.com/paritytech/polkadot --tag v1.0.0 polkadot --locked

The problem is that the wasm builder doesn't respect the --locked.

from polkadot.

ablax avatar ablax commented on June 11, 2024

I did build it with SKIP_WASM_BUILD, but now I cannot start it in dev mode

polkadot --dev
Error:
0: Invalid input: Polkadot development wasm not available

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.


RUST_BACKTRACE=full polkadot --dev
Error:
0: Invalid input: Polkadot development wasm not available

━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━
⋮ 4 frames hidden ⋮
5: polkadot::main::hb6528828b1bb820e
at :
6: std::sys_common::backtrace::__rust_begin_short_backtrace::h815b10214dfb90b3
at :
7: std::rt::lang_start::{{closure}}::h465535b94ff82d4c
at :
8: core::ops::function::impls::<impl core::ops::function::FnOnce for &F>::call_once::h0689b9cc840db667
at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/core/src/ops/function.rs:284
9: std::panicking::try::do_call::h8d21b0c0c04af112
at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/std/src/panicking.rs:500
10: std::panicking::try::h618481d45c1b815c
at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/std/src/panicking.rs:464
11: std::panic::catch_unwind::hbdeff70f3984ee7b
at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/std/src/panic.rs:142
12: std::rt::lang_start_internal::{{closure}}::haa4994ba13a3cd15
at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/std/src/rt.rs:148
13: std::panicking::try::do_call::h39b55541875d339a
at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/std/src/panicking.rs:500
14: std::panicking::try::h93ac0a218f84acad
at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/std/src/panicking.rs:464
15: std::panic::catch_unwind::h07a4f62359dfd8f0
at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/std/src/panic.rs:142
16: std::rt::lang_start_internal::hdd06e3566639fc5b
at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/std/src/rt.rs:148
17: _main
at :

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.

from polkadot.

bkchr avatar bkchr commented on June 11, 2024

Yeah, the wasm is not build in this case. If you already have checked out the repo, you can just use cargo build --profile prroduction.

from polkadot.

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.