rendrjs / rendr

Render your Backbone.js apps on the client and the server, using Node.js.
MIT License
4.09k stars 312 forks source link

1.0.4 does not find 'handlebars' module, breaks example apps #475

Closed skanaar closed 9 years ago

skanaar commented 9 years ago

When upgrading to RendrJS 1.0.4 our app breaks with the message Cannot find module 'handlebars'. Can be reproduced by installing the example apps, which also fails when using 1.0.4

ingiulio commented 9 years ago

Hey @skanaar, since Rendr 1.0.4 we need to have handlebars as a dependency in our app's package.json. E.g.

// /package.json

"dependencies": {
  ...
  "express": "^4.12.3",
  "handlebars": "^2.0.0"
  "qs2": "~0.6.6",
  ...
},

The docs were updated here: http://rendrjs.github.io/app/#config I forgot to update the example apps, sorry about that (PR coming soon).

ingiulio commented 9 years ago

PR opened: https://github.com/rendrjs/rendr-examples/pull/20

saponifi3d commented 9 years ago

This issue should be fixed now, thanks for reporting it!