saschagrunert / webapp.rs

A web application completely written in Rust. 🌍
MIT License
2.22k stars 224 forks source link

Compile failed! #1896

Open irocn opened 2 years ago

irocn commented 2 years ago

Environment:

  1. ubuntu 20.04
  2. cargo 1.62.0 (a748cf5a3 2022-06-08)
  3. version @master branch
  4. 
    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 commented 2 years ago

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

greenpdx commented 1 year ago

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

saschagrunert commented 1 year ago

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