Uncaught Error: Missing method 'Mesh' when trying to use MeshWriter

@TheLeftover can answer that the best, as he is the one who wrote the MeshWriter, but from a quick glance at the code, it seems like it expects BABYLON to be in the global namespace.

A quick search came up with this - MeshWriter integration in Angular+Babylon project , so it does seem like you will need to define window.BABYLON yourself to use it.