Comments (2)
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 [email protected] wrote:
C:\Users\gturner\Documents\GitHub\a2p3>npm start
[email protected] start C:\Users\gturner\Documents\GitHub\a2p3
node app/app.jsMon 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:8080we 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
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>
—
Reply to this email directly or view it on GitHub.
from a2p3.
that worked. thanks... working on Bank web app now.
On Mon, Feb 4, 2013 at 11:48 AM, Dick Hardt [email protected]:
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 linechange 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 [email protected] wrote:
C:\Users\gturner\Documents\GitHub\a2p3>npm start
[email protected] start C:\Users\gturner\Documents\GitHub\a2p3
node app/app.jsMon 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:8080we 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:13at Function.exports.colorLogger.express.logger.token.wideHost as
localTime
at eval (eval at compile
(C:\Users\gturner\Documents\GitHub\a2p3\node_modules\express\node_modules\connect\lib\middleware\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>
—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-13095394.
from a2p3.
Related Issues (20)
- concurrent sample-app register caused errors HOT 1
- registrar server dies if user cancels logon
- Bank: IE returns to login page after accepting terms of service HOT 1
- Setup: Cancel button doesn't cancel - user is enrolled HOT 1
- Adding agent using QR code - mouse pointer location HOT 1
- Bank :: close API for Bank Mobile App
- Bank: Login button results in page without logout HOT 1
- Resource server login not working on IE HOT 1
- add ix property to Agent Request
- registrar /report returns invalid request to agent
- bank app fails on open account and login if you remove the authorizations
- on setup, stop the facebook auto logon.
- last access missing in responses to /authorizations/list
- Mobile Safari: Login with Facebook button opens new tab HOT 2
- invalid request from App -> Agent -> Registrar causes registrar to halt HOT 1
- agent gets 'MISSING_TOKEN' when user denies/cancels the logon on the agent HOT 3
- deleting an app may not clean up all of DB
- registries not showing application name
- Verify that cancel QR works HOT 2
- IIW feedback
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from a2p3.