This is a great tutorial

I found this amazing tutorial on Smashing Magazine. The only problem is I want to build it in Nodejs. I got the nodejs server up and running and installed express-hbs. But I am finding in the tutorial when I include ember and ember data it complains that it can’t find handlebars when its installed. Any ideas on the best approach.

https://npmjs.org/package/express-hbs

http://coding.smashingmagazine.com/2013/11/07/an-in-depth-introduction-to-ember-js/

I tried that but it didn’t work here is the GIT repo. Not sure what I am missing

https://github.com/kyoukhana/nodeember

What error do you get?

In the console i get Error: Could not find module handlebars. But handlebars is there. I am using handlebars template files to render the view

Have you included handlebars?

<script src="assets/javascripts/libs/handlebars/handlebars.min.js"></script>

If so, please check the file content.

In Nodejs its already being loaded in app.js. Do I have to include it again?? Because if you pull that git repo you will see how the code is structured.

Well the browser should include it :slight_smile:

Have you downloaded Ember Inspector for Chrome?

DEBUG: ------------------------------- ember.js:3285
DEBUG: Ember      : 1.3.1 ember.js:3285
DEBUG: Ember Data : 1.0.0-beta.6+pre.361a00e7 ember.js:3285
DEBUG: Handlebars : 1.3.0 ember.js:3285
DEBUG: jQuery     : 2.0.3 

It shows exactly what you are running with :slight_smile:

Ember Inspector for chrome only runs when you have actually initialized a ember application. If you do a pull from the git repo run the application you will see the error. Handlebars says its missing but its included. :smiley: