I've had a good hunt but can't find the solution:
the GLTFExport for Three.js allows for specific objects to be exported when they're named in the exporter.
My situation:
I have a random number of Object3Ds with child Meshes in my scene that I'd like to export, however I have removed everything from my scene apart from the objects and their child meshes and a helper to show face normals direction, and I still get the error:
Uncaught Error: THREE.GLTFExporter: userData can't be serialized
Previously I didn't have the Object3Ds and just had the meshes by themselves as children of the scene and the export worked fine. Unfortunately having the meshes within the Objects is needed for the program to work and the documentation suggests that they can be exported.
Can anyone think of a way around this issue?