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.
dart pub cache repair
2
This is what fixed it for me. : "Remove Invalid Roots" in the Project Structure -> Problems
Delete .pub-cache file from directory that located.
.pub-cache
Click here to cancel reply.
2
Answers
This is what fixed it for me. : "Remove Invalid Roots" in the Project Structure -> Problems
Delete
.pub-cache
file from directory that located.