HUGO in WSL installation failed

Hi,

I am trying to install HUGO under WSL (Ubuntu 20.04). I followed the directions on the HUGO github page and everything go smoothly until I run “go install”.

The error message I am receiving is the following:

build github.com/gohugoio/hugo: cannot load io/fs: malformed module path “io/fs”: missing dot in first path element

I was try to understand how to fix it but I could not find the source.
Please let me know if you can help!

Cheers

You need go v1.16+