rendrjs / rendr-app-template

Basic skeleton for a Rendr app. Deprecated in favor of ./examples dir in rendr repo.
MIT License
285 stars 83 forks source link

Handlebars precompiled versioning error #38

Closed trueadm closed 11 years ago

trueadm commented 11 years ago

I get this error when attempting to connect for the first time:

500 Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version (>= 1.0.0) or downgrade your runtime to an older version (== 1.0.0-rc.3).

Can I can resolve this without hacking about the different NPM modules? Thanks.

spikebrehm commented 11 years ago

Hi, sorry about that. I was just in the middle of tweaking Handlebars versions to support Handlebars 1.0.12 (it's actually a fork of Handlebars that includes a commit that's in master to support CommonJS out of the box; unfortunately though it's in master, the maintainers haven't published that version to NPM).

Try this: pull down the latest master from this repo, and then run:

rm -rf node_modules
npm install

That should fix it.