Closed mixu closed 10 years ago
The package.json engines field in the repo suggests it works with Node 0.8, but https://github.com/ericf/express-handlebars/blob/master/lib/utils.js uses setImmediate. setImmediate was introduced in Node 0.10.x e.g. https://github.com/joyent/node/wiki/Api-changes-between-v0.8-and-v0.10#added
engines
setImmediate
0.10.x
This manifests as a hang when rendering on node 0.8.x + Express 3.x.
Thanks for reporting this. I will update it to correct the engines entry in the package.json to be >=0.10.
package.json
>=0.10
Published in v1.0.2.
v1.0.2
The package.json
engines
field in the repo suggests it works with Node 0.8, but https://github.com/ericf/express-handlebars/blob/master/lib/utils.js usessetImmediate
.setImmediate
was introduced in Node0.10.x
e.g. https://github.com/joyent/node/wiki/Api-changes-between-v0.8-and-v0.10#addedThis manifests as a hang when rendering on node 0.8.x + Express 3.x.