Skip to content
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

TypeError: Cannot call method 'indexOf' of null #8

Open
ajsb85 opened this issue Jan 22, 2014 · 1 comment
Open

TypeError: Cannot call method 'indexOf' of null #8

ajsb85 opened this issue Jan 22, 2014 · 1 comment

Comments

@ajsb85
Copy link

ajsb85 commented Jan 22, 2014

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\User\Documents\GitHub\milestone.js>node app.js
Express server listening on port 3000
TypeError: Cannot call method 'indexOf' of null
    at Object.exports.makeState (C:\Users\User\Documents\GitHub\milestone.js\lib\util.js:43:21)
    at exports.index (C:\Users\User\Documents\GitHub\milestone.js\lib\routes.js:42:22)
    at callbacks (C:\Users\User\Documents\GitHub\milestone.js\node_modules\express\lib\router\index.js:160:37)
    at param (C:\Users\User\Documents\GitHub\milestone.js\node_modules\express\lib\router\index.js:134:11)
    at pass (C:\Users\User\Documents\GitHub\milestone.js\node_modules\express\lib\router\index.js:141:5)
    at Router._dispatch (C:\Users\User\Documents\GitHub\milestone.js\node_modules\express\lib\router\index.js:169:5)
    at Object.router (C:\Users\User\Documents\GitHub\milestone.js\node_modules\express\lib\router\index.js:32:10)
    at next (C:\Users\User\Documents\GitHub\milestone.js\node_modules\express\node_modules\connect\lib\proto.js:190:15)
    at Object.methodOverride [as handle] (C:\Users\User\Documents\GitHub\milestone.js\node_modules\express\node_modules\connect\lib\middleware\methodOverride.js:37:5)
    at next (C:\Users\User\Documents\GitHub\milestone.js\node_modules\express\node_modules\connect\lib\proto.js:190:15)
GET / 500 16ms

@charlesfracchia
Copy link

Looking at the source this is most likely because you're not feeding a URL in the exports.repo line in your config.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants