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

failed to run custom build command for pear_codegen v0.1.4 #5

Open
TaeyoonKwon opened this issue Feb 10, 2022 · 0 comments
Open

failed to run custom build command for pear_codegen v0.1.4 #5

TaeyoonKwon opened this issue Feb 10, 2022 · 0 comments

Comments

@TaeyoonKwon
Copy link

After adding swagger-ui to my dependencies, I get error
error: failed to run custom build command for pear_codegen v0.1.4

But all I have in my dependencies are rocket and swagger-ui in my project and cargo run makes no error when I don't have swagger-ui dependencies.

[dependencies]
rocket = "0.5.0-rc.1"
swagger-ui = "0.1"
rocket-swagger-ui = "0.1"

image

The error above seems telling me that I should use nightly version.

So I set it to rustc 1.60.0-nightly, then rocket does not compile.

What should I do in this case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant