You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got error when running cargo run --example server after cargo build.
error[E0432]: unresolved import `juniper::iron_handlers::GraphQLHandler`. Could not find `iron_handlers` in `juniper`
--> examples/server.rs:13:30
|
13 | use juniper::iron_handlers::{GraphQLHandler, GraphiQLHandler};
| ^^^^^^^^^^^^^^
error[E0432]: unresolved import `juniper::iron_handlers::GraphiQLHandler`. Could not find `iron_handlers` in `juniper`
--> examples/server.rs:13:46
|
13 | use juniper::iron_handlers::{GraphQLHandler, GraphiQLHandler};
| ^^^^^^^^^^^^^^^
error[E0432]: unresolved import `juniper::tests::model::Database`. Could not find `tests` in `juniper`
--> examples/server.rs:14:5
|
14 | use juniper::tests::model::Database;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 3 previous errors
error: Could not compile `juniper`.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
I got error when running
cargo run --example server
aftercargo build
.Am I doing something wrong?
The text was updated successfully, but these errors were encountered: