I think you are missing this part. I've got the same issue, then solved it by adding it.
--- import "aos/dist/aos.css"; ---