-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
windows 7: servers die on first request to setup.local.a2p3.net #42
Comments
I guess you can't run on Windows! :) Looks like the dateformat module does not work on Windoze. You can go into middleware.js and edit the logging code to not get the date data so that it will run on Windows. There is a line change line 144 from return express.logger( '\x1b[2m:localTime\x1b[0m|\x1b[2m:remoteIP\x1b[0m :wideHost\t:method\t:url\t:statusColor\t:response-time\tms\t:errorCode\t:errorMessage' ) to return express.logger( \x1b[2m:remoteIP\x1b[0m :wideHost\t:method\t:url\t:statusColor\t:response-time\tms\t:errorCode\t:errorMessage' ) On Feb 4, 2013, at 11:39 AM, GregTurner notifications@github.com wrote:
|
that worked. thanks... working on Bank web app now. On Mon, Feb 4, 2013 at 11:48 AM, Dick Hardt notifications@github.comwrote:
|
C:\Users\gturner\Documents\GitHub\a2p3>npm start
Mon Feb 04 2013 11:37:03 GMT-0NaN (Pacific Standard Time)
A2P3 servers started on *.local.a2p3.net:8080
Setup available at http://setup.local.a2p3.net:8080
we are going to die from uncaught exception !
we received error:
TypeError: Invalid date
at TypeError (unknown source)
at C:\Users\gturner\Documents\GitHub\a2p3\node_modules\dateformat\lib\dateformat.js:69:13
at Function.exports.colorLogger.express.logger.token.wideHost [as localTime](C:UsersgturnerDocumentsGitHuba2p3
applibmiddleware.js:116:13)
at eval (eval at compile (C:\Users\gturner\Documents\GitHub\a2p3\node_modules\express\node_modules\connect\lib\middl
eware\logger.js:173:10))
at ServerResponse.module.exports.res.end (C:\Users\gturner\Documents\GitHub\a2p3\node_modules\express\node_modules\c
onnect\lib\middleware\logger.js:149:20)
at onend (stream.js:66:10)
at EventEmitter.emit (events.js:126:20)
at afterRead (fs.js:1330:12)
at Object.wrapper as oncomplete
we are going to die from exit !
C:\Users\gturner\Documents\GitHub\a2p3>
The text was updated successfully, but these errors were encountered: