I’ve set up an EC2 server on AWS. r6g.medium using Amazon Linux 2 AMI.
On this server the regular Hugo works fine, but I need Hugo Extended for my workflow. Sadly this one is not provided, so I’m trying to build it myself.
Followed the install guide on how to compile the Hugo Extended from source: Install Hugo | Hugo
I run into this error:
tpl/internal/go_templates/texttemplate/helper.go:11:2: package io/fs is not in GOROOT (/usr/lib/golang/src/io/fs)
Searched around the forum, and the rest of the internet. Couldn’t find how to resolve it. Any help would be appreciated 
go version go1.15.8 linux/arm64