skip to Main Content

I’m facing an issue in my Project structure where some of my used packages have a broken path. I already tried dart pub cache repair but the error remains.

enter image description here

2

Answers


  1. This is what fixed it for me. : "Remove Invalid Roots" in the Project Structure -> Problems

    enter image description here

    Login or Signup to reply.
  2. Delete .pub-cache file from directory that located.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search