Currently, I am encountering an issue while attempting to convert my JSON object to XML using the xml-js library's json2xml function. When trying to implement this functionality, I keep getting an error message that states:
Error: Buffer is not defined
It's worth noting that I am working with Angular 8.
If you'd like to take a closer look at the error and how it can be reproduced, please check out this StackBlitz project.
Your guidance on resolving this matter would be greatly appreciated. Thank you in advance.