title: Cannot read property 'decode' of undefined
body: <p>I have been playing around with the General Transit Feed Specification - Realtime, and I am following exactly the example given on google's documentation: </p>
  
  <p><a href="https://developers.google.com/transit/gtfs-realtime/examples/nodejs-sample" rel="nofollow noreferrer">https://developers.google.com/transit/gtfs-realtime/examples/nodejs-sample</a></p>
  
  <p>for JavaScript, using my cities local transit feed, however I keep encountering the following error:</p>
  
  <pre><code>var feed = GtfsRealtimeBindings.FeedMessage.decode(body);
                                              ^
  TypeError: Cannot read property 'decode' of undefined
  </code></pre>
  
  <p>I have a working implementation in python that follows their example for that, so I can verify with certainty that the feed is the correct format.</p>
  
  <p>I am running the code using the instruction:</p>
  
  <pre><code>node index.js
  </code></pre>
  
  <p>My package.json includes all the relevant dependencies, and I have installed using npm the required packages.
  I have searched far and wide for a solution to this error but have had no luck. Any advice?</p>