You probably registered it using sudo because the top example on the documentation page has sudo as it’s for Linux but Mac does not. Here is how to fix it…
Single landing page example using only static content taking advantage of free static hosting some services offer. IE Gitlab, Github and quite a few others. It can also be expanded to multiple pages.