Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generation Script of frontier template is giving Error #519

Closed
Polkaverse opened this issue Nov 16, 2021 · 6 comments · Fixed by #1327
Closed

Generation Script of frontier template is giving Error #519

Polkaverse opened this issue Nov 16, 2021 · 6 comments · Fixed by #1327
Labels

Comments

@Polkaverse
Copy link

Question

Hi Team
I am trying to Generation Script of frontier template but i am getting error after the below command
./node-template-release.sh TEMPLATE.tar.gz

Error:
error: no matching package found
searched package name: substrate-prometheus-endpoint
prerelease package needs to be specified explicitly
substrate-prometheus-endpoint = { version = "0.10.0-dev" }
location searched: https://github.com/paritytech/substrate
required by package fc-consensus v2.0.0-dev (https://github.com/paritytech/frontier.git?rev=30e05d8736ef9de2039327bcb1098b45bb546502#30e05d87)
... which satisfies git dependency fc-consensus of package frontier-template-node v0.0.0 (/private/var/folders/7h/zsl46ccs26n6g9jqmqdcfxdw0000gn/T/.tmpZ2uJ6u/template/node)
thread 'main' panicked at 'assertion failed: Command::new("cargo").args(&["build",\n "--all"]).current_dir(path).status().expect("Compiles node").success()', src/main.rs:188:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Can you please help me in this?

@dongchangYoo
Copy link

the same error occurs. @PankajChaudhary5 , have you found any solutions?

@Polkaverse
Copy link
Author

No @dongchangYoo. I used the code given in the documentation as the initial code.

@Polkaverse
Copy link
Author

@farazahmadvaival
Copy link

Any Solution to this issue? I want to build the latest one. Not want to use pre-generated.

@naiemk
Copy link

naiemk commented Feb 17, 2022

I have the same problem.

@PankajChaudhary5 The pre-generated node template also has issue with tokio. It has two versions in the dependency tree

I was able to fix this. There is an open pr that I merged it which fixes the issue. You can use my repo until the pr is officially merged.

https://github.com/ferrumnet/frontier

@arthur-cw
Copy link

I have the same issue.
Hey @naiemk, I couldn't find your fix nor your PR, can you share it?

@boundless-forest boundless-forest linked a pull request Mar 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants