DEV Community

Cover image for Solved: go mod tidy: warning: "all" matched no packages
Gernot Glawe
Gernot Glawe

Posted on

Solved: go mod tidy: warning: "all" matched no packages

In just some projects go mod tidy did not work.

Now I figured out, why:

If you are inside a working directory, which is a symbolic link, it fails with warning: "all" matched no packages..

When you cd to the linked directory, it works.

go mod tidy

"The expert is amazed and the layman is confused!" - Ancient german proverb!

Top comments (0)

An Animated Guide to Node.js Event Loop

>> Check out this classic DEV post <<