Handlebars (Handlebarsjs) + Precompiled Templates = Error: has no method ‘merge’

After a server move we started encountering errors after precompiling our handlebars templates.  Googling didn’t help much but after playing around with various versions of the compiler and runtime (both of ours were old on the older server) it seems like using runtime 1.0.0 with the older 1.0.11 version of the handlebars CLI compiler works.

Installing older version of compiler via NPM:

$ npm install handlebars@1.0.11 -g

I hope you didn’t waste too much time and found this solution quicker than I was able to.