Error generating sitemap: Cannot set property contentType of # which has only a getter