Red-Node error: MeshPacket in the ServiceEnvelope

So I am using the example from MQTT | Meshtastic specifically where the author shows the source code for the mqtt decoding. When I get it running under node-red i get the following error whenever a packet comes across the network:

Wire format is invalid: Error: no such Type or Enum ‘MeshPacket’ in Type .meshtastic.ServiceEnvelope

which is in the decode protobuf gadget right after the MQTT node.

What is required to get this fixed?