How Do You Troubleshoot a “make install” Command Failing?

Problem scenario
You run a "make install" command, but it fails with a message that says
"error loading module requirements…Makefile …"

What should you do?

Possible solution #1
You do not have enough space on the disk. Can you expand the storage capacity? Then run "go mod tidy" when the server is usable again. Try the "make install" again.

Possible solution #2
You do not have permissions to write to certain directories. Can you try again with the sudo user?

Possible solution #3
The package you downloaded was incomplete, incorrect or became corrupted. Can you use new installation media?

Possible solution #4
Run "make install --debug".

Possible solution #5
Can you search the internet other parts of error message?

Leave a comment

Your email address will not be published. Required fields are marked *