p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Building Mobile Application Development in the Cloud (http://p2p.wrox.com/forumdisplay.php?f=658)
-   -   Chapter 5 Node connectserver.js doesnt work (http://p2p.wrox.com/showthread.php?t=88863)

cmrobertson November 24th, 2012 12:57 PM

Chapter 5 Node connectserver.js doesnt work
 
I have followed all of the steps up to and includng npm install connect, and it appears there ar no issues, however when I get to the step:

node connectserver.js (copied the code from the server and place in my usr/tmp folder) I get the following errors:

module.js:337
throw new Error("Cannot find module '" + request + "'");

Error: Cannot find module 'connect'

followed by a few more descriptors of the error. Does anyone know where I may have taken a wrong turn or why these appearingly simple instructions do not work?


All times are GMT -4. The time now is 10:56 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.