DEV Community

Cover image for Solved: go mod tidy: warning: "all" matched no packages / GO debugger does not work in VSCode
Gernot Glawe
Gernot Glawe

Posted on • Edited on

Solved: go mod tidy: warning: "all" matched no packages / GO debugger does not work in VSCode

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!

Update: This also happens with the VSCode debugger.
Could be only a MAC M1 problem...

Top comments (0)