scully-plugin-sitemap Invalid character in name

nodejs

The scully-plugin-sitemap plugin is used to generate a sitemap for a static site generated with the Scully static site generator. The error “Invalid character in name” may be caused by an invalid character in the name of one of the pages or routes in your site.

To troubleshoot this error, you can try the following steps:

  1. Check the names of your pages and routes: Make sure that the names of your pages and routes do not contain any invalid characters, such as spaces or special characters.

  2. Check the sitemap configuration: Make sure that you have configured the scully-plugin-sitemap plugin correctly in your Scully configuration.

  3. Check for syntax errors: Make sure that your Scully configuration does not contain any syntax errors that could cause issues with the sitemap plugin.

  4. Enable debugging: You can enable debugging for the scully-plugin-sitemap plugin by setting the DEBUG environment variable to scully:sitemap. This will enable additional logging that may help you to identify the cause of the error.

If you are still unable to resolve the error, you may want to consider reaching out to the developers of the scully-plugin-sitemap plugin or posting in a support forum or online community for help.