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

1

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)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up