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.
I tried that but it didn’t work here is the GIT repo. Not sure what I am missing
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?
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
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
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.