We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just tried the example:
app = express.createServer() app.configure -> ... app.engine 'html', require('hbs').__express
...and I get:
Object #<HTTPServer> has no method 'engine'
Thoughts?
The text was updated successfully, but these errors were encountered:
Here's the output of npm list:
npm list
├── coffee-script@1.2.0 ├─┬ express@2.5.9 │ ├─┬ connect@1.8.7 │ │ └── formidable@1.0.11 │ ├── mime@1.2.4 │ ├── mkdirp@0.3.0 │ └── qs@0.4.2 ├─┬ handlebars@1.0.5beta │ ├─┬ optimist@0.3.4 │ │ └── wordwrap@0.0.2 │ └── uglify-js@1.2.6 ├── hbs@1.0.3 └─┬ optimist@0.3.4 └── wordwrap@0.0.2
Sorry, something went wrong.
That example is for the upcoming express 3.x (I should make that clearer)
For express 2.x you can use:
app.register('html', require('hbs'));
Thanks!
No branches or pull requests
Just tried the example:
...and I get:
Thoughts?
The text was updated successfully, but these errors were encountered: