Meteor Update: Buffer is not defined

Here is a common error you find in console after upgrading “meteor update” on heroku:

Uncaught ReferenceError: Buffer is not defined
    at util.js
Uncaught TypeError: Cannot destructure property `ServiceConfiguration` of 'undefined' or 'null'.

The site will run on your local machine, but when deploying to heroku it’s not working on the heroku instance. The trick is you also need to update meteor-node-stubs:

npm uninstall --save meteor-node-stubs
npm install --save meteor-node-stubs

Might be obvious to others, but this was a gotcha that too me a while to figure out.