Giter VIP home page Giter VIP logo

Comments (4)

cmichi avatar cmichi commented on July 27, 2024

@kurotych You are unfortunately getting an internal compiler error which occurs in the Rust compiler. This is because you're nightly version is very new. Could you try with these please?

Edit:

rustup override set stable
rustup target add wasm32-unknown-unknown --toolchain stable 
cargo install canvas-node --git https://github.com/paritytech/canvas-node.git --tag v0.1.6 --force --locked

from canvas.

kurotych avatar kurotych commented on July 27, 2024

Thank for help.
But substrate won't compile successfully without nightly features

cargo install canvas-node --git https://github.com/paritytech/canvas-node.git --tag v0.1.6 --force --locked
    Updating git repository `https://github.com/paritytech/canvas-node.git`
  Installing canvas-node v0.1.0 (https://github.com/paritytech/canvas-node.git?tag=v0.1.6#f17dd18b)
    Updating crates.io index
    Updating git repository `https://github.com/paritytech/substrate`
error: failed to compile `canvas-node v0.1.0 (https://github.com/paritytech/canvas-node.git?tag=v0.1.6#f17dd18b)`, intermediate artifacts can be found at `/tmp/cargo-installxi1a2X`

Caused by:
  failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `rustc - --crate-name ___ --print=file-names -Zinstrument-coverage --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit code: 1)
  --- stderr
  error: the option `Z` is only accepted on the nightly compiler

from canvas.

cmichi avatar cmichi commented on July 27, 2024

@kurotych I see, until we've figured it out you can fallback to v0.1.5:

cargo install canvas-node --git https://github.com/paritytech/canvas-node.git --tag v0.1.5 --force --locked

This one should work.

from canvas.

cmichi avatar cmichi commented on July 27, 2024

@kurotych We just fixed an issue with recent nightlies and updated v0.1.6 to the latest Substrate. So you should be able to use:

cargo install canvas-node --git https://github.com/paritytech/canvas-node.git --tag v0.1.6 --force --locked

Please notify us if you still run into issues.

from canvas.

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.