webapp.rs icon indicating copy to clipboard operation
webapp.rs copied to clipboard

Compile failed!

Open irocn opened this issue 2 years ago • 3 comments

Environment:

  1. ubuntu 20.04
  2. cargo 1.62.0 (a748cf5a3 2022-06-08)
  3. version @master branch
error[E0433]: failed to resolve: could not find `agent` in `yew_router`
  --> frontend/src/component/content.rs:20:17
   |
20 | use yew_router::agent::{RouteAgent, RouteRequest::ChangeRoute};
   |                 ^^^^^ could not find `agent` in `yew_router`

error[E0432]: unresolved import `yew_router::agent`
  --> frontend/src/component/content.rs:20:17
   |
20 | use yew_router::agent::{RouteAgent, RouteRequest::ChangeRoute};
   |                 ^^^^^ could not find `agent` in `yew_router`

error[E0433]: failed to resolve: could not find `agent` in `yew_router`
  --> frontend/src/component/login.rs:22:17
   |
22 | use yew_router::agent::{RouteAgent, RouteRequest::ChangeRoute};
   |                 ^^^^^ could not find `agent` in `yew_router`

error[E0432]: unresolved import `yew_router::agent`
  --> frontend/src/component/login.rs:22:17
   |
22 | use yew_router::agent::{RouteAgent, RouteRequest::ChangeRoute};
   |                 ^^^^^ could not find `agent` in `yew_router`

error[E0433]: failed to resolve: could not find `agent` in `yew_router`

irocn avatar Jul 18 '22 08:07 irocn

yew-router = "0.16.0" don't find 'agent'

irocn avatar Jul 18 '22 08:07 irocn

The problem is yew-router 0.16 has been completely rewritten. 0.15 still has agent. So this will not build as is!

greenpdx avatar Nov 24 '22 16:11 greenpdx

Yeah I did not invest much time in keeping this project up to date. But in any case PRs are very welcome :)

saschagrunert avatar Nov 25 '22 07:11 saschagrunert