New problem creating new pages with hugo new

The error you report has been discussed sometime ago over here

Don’t have the time to debug this for you, but if you keep having problems perhaps you would need to share a sample repo with dummy content that replicates your setup, including the Archetypes directory for people in this forum to see what may be wrong.