em-wilson / book-node-mongodb-backbone

Example source code accompanying O'Reilly's "Building Node Applications with MongoDB and Backbone" by Mike Wilson
272 stars 119 forks source link

Empty/Blank Index Page #6

Open em-wilson opened 11 years ago

em-wilson commented 11 years ago

hi mike,

i’m reading ‘Building Node Applications with MongoDB and Backbone’ book and following along the sample project.

After read each chapter i overwrite my local project files, updating from the ‘book-node-mongodb-backbone ‘ archive (downloaded from github). But this stop to work from chapter 6 to chapter 8 (that i’m reading now).

what’s happen? After ‘paste’ chapter 6-8 files into my local project directory structure and start the server, i cannot see the index page (although mongodb and node are running properly, without erros on console).

what should i do? can you forward your reply to my e-mail?

best wishes,

linuxciscoarnaud commented 11 years ago

Hello,

I bought the book: "Buildig Node Applications with MongoDB and Backbone". I am trying to follow the steps and construct the Social Network app, but I have the same problem as the one mentioned by Paulo Cassiano. After i complete chapter 8 and start the server, the projest runs fine but i cannot see the index page, or nothing is displayed on the index page. Mongodb and node are running properly, without erros on console.

I am stuck there, please help.

Arnaud

RUPOJS commented 11 years ago

I am also encountering the same problem. @Swiftam please help! I am stuck in chapter 7, please reply. I am quite new to node :(

marcobessa commented 11 years ago

Please i have this error in execution of chapter 6 and others.

C:\adt\book\ch08>node app.js

module.js:340 throw err; ^ Error: Cannot find module './config/mail' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (C:\adt\book\ch08\app.js:10:9) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10)

abreups commented 10 years ago

The file that is referenced by './config/mail' is not described in the text of the book. One need to take a look at Github and get the file from there.