This Issue is about an error in the example.
game.add.nineSlice(100, 100, 'my-image', 200, 50);
This call requires an additional argument for the frame of the image with the given key.
The correct way of creating a nineslice image can be seen in the example:
game.add.nineSlice(5, 5, 'image', null, 48, 48);