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

not able to start "node app.js" #2

Open
sachinbanugariya opened this issue Mar 7, 2017 · 0 comments
Open

not able to start "node app.js" #2

sachinbanugariya opened this issue Mar 7, 2017 · 0 comments

Comments

@sachinbanugariya
Copy link

we use elgg 1.11,
getting below error when try to start app.js

/usr/local/nginx/html/elgg/mod/elgg-nodejs/node/app.js:153
return socket.handshake.headers.cookie.match(/Elgg=(\S*);?/)[1];
^
TypeError: Cannot read property '1' of null
at getElggSession (/usr/local/nginx/html/elgg/mod/elgg-nodejs/node/app.js:153:62)
at Namespace. (/usr/local/nginx/html/elgg/mod/elgg-nodejs/node/socket.js:20:20)
at Namespace.emit (events.js:117:20)
at Namespace.emit (/usr/local/nginx/html/elgg/mod/elgg-nodejs/node/node_modules/socket.io/lib/namespace.js:209:10)
at /usr/local/nginx/html/elgg/mod/elgg-nodejs/node/node_modules/socket.io/lib/namespace.js:176:14
at process._tickCallback (node.js:458:13)

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

1 participant