Change8
Error37 reports

Fix NotFoundError

in Netlify CMS

Solution

This error usually occurs when Netlify CMS attempts to remove a DOM node that is no longer a direct child of the expected parent element. To fix it, ensure that the code removing the node verifies that it is indeed a child node of the specified parent before attempting removal, potentially by checking `parentNode` or using `contains` before calling `removeChild`. Implement proper error handling with try/catch block around `removeChild` to gracefully handle cases where the node is not a child, preventing the application from crashing.

Timeline

First reported:Jan 19, 2025
Last reported:Dec 22, 2025

Need More Help?

View the full changelog and migration guides for Netlify CMS

View Netlify CMS Changelog