Giter Club home page Giter Club logo

sockchat's Issues

TypeError: Cannot read property 'emit' of undefined

/Library/WebServer/Documents/socketchat/server_sockets.js:285
io.sockets.connected[socketConn].emit('new message', msgObj);
^

TypeError: Cannot read property 'emit' of undefined
at /Library/WebServer/Documents/socketchat/server_sockets.js:285:37
at Array.forEach (native)

CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

[nodemon] app crashed - waiting for file changes before starting...
[nodemon] restarting due to changes...
[nodemon] starting node server.js
The magic happens on port 3000

<--- Last few GCs --->

23540 ms: Mark-sweep 1392.8 (1439.0) -> 1392.7 (1439.0) MB, 1270.9 / 0.0 ms [allocation failure] [GC in old space requested].
24798 ms: Mark-sweep 1392.7 (1439.0) -> 1392.7 (1439.0) MB, 1257.1 / 0.0 ms [allocation failure] [GC in old space requested].
26044 ms: Mark-sweep 1392.7 (1439.0) -> 1392.7 (1423.0) MB, 1246.1 / 0.0 ms [last resort gc].
27289 ms: Mark-sweep 1392.7 (1423.0) -> 1392.7 (1423.0) MB, 1244.6 / 0.0 ms [last resort gc].

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x1ecbd793fa99
1: new constructor(aka Cursor) [/Library/WebServer/Documents/socketchat/node_modules/mongojs/lib/cursor.js:~5] [pc=0x3a15d1157c21] (this=0x1456eecf43a1 <a Cursor with map 0x350f6432b0e1>,getCursor=0x3719dc97ab91 <JS Function getCursor (SharedFunctionInfo 0x755c7757949)>)
3: find [/Library/WebServer/Documents/socketchat/node_modules/mongojs/lib/collection.js:~25] [pc=0x3a15d115554e] (thi...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [/usr/local/bin/node]
2: node::FatalException(v8::Isolate*, v8::Localv8::Value, v8::Localv8::Message) [/usr/local/bin/node]
3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/local/bin/node]
4: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/usr/local/bin/node]
5: v8::internal::Runtime_AllocateInTargetSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
6: 0x3a15d0c062bf
7: 0x3a15d1157c21
8: 0x3a15d0c1e7b2
[nodemon] app crashed - waiting for file changes before starting...

TypeError: Cannot read property 'email' of undefined

017-12-31T16:16:38.029287+00:00 heroku[web.1]: Starting process with command npm start
2017-12-31T16:16:44.107865+00:00 app[web.1]: Warning: connect.session() MemoryStore is not
2017-12-31T16:16:44.107880+00:00 app[web.1]: designed for a production environment, as it will leak
2017-12-31T16:16:44.107881+00:00 app[web.1]: memory, and will not scale past a single process.
2017-12-31T16:16:44.190832+00:00 app[web.1]: /app/server.js:79
2017-12-31T16:16:44.190836+00:00 app[web.1]: from: authConfig.emailCreds.email,
2017-12-31T16:16:44.190837+00:00 app[web.1]:
2017-12-31T16:16:44.190837+00:00 app[web.1]: ^
2017-12-31T16:16:44.190838+00:00 app[web.1]: TypeError: Cannot read property 'email' of undefined
2017-12-31T16:16:44.190839+00:00 app[web.1]: at Object. (/app/server.js:79:31)
2017-12-31T16:16:44.190839+00:00 app[web.1]: at Module._compile (module.js:635:30)
2017-12-31T16:16:44.190840+00:00 app[web.1]: at Object.Module._extensions..js (module.js:646:10)
2017-12-31T16:16:44.190841+00:00 app[web.1]: at Module.load (module.js:554:32)
2017-12-31T16:16:44.190841+00:00 app[web.1]: at tryModuleLoad (module.js:497:12)
2017-12-31T16:16:44.190842+00:00 app[web.1]: at Function.Module._load (module.js:489:3)
2017-12-31T16:16:44.190842+00:00 app[web.1]: at Function.Module.runMain (module.js:676:10)
2017-12-31T16:16:44.190843+00:00 app[web.1]: at startup (bootstrap_node.js:187:16)
2017-12-31T16:16:44.190844+00:00 app[web.1]: at bootstrap_node.js:608:3

I was here

Before sockChat becomes a GSoC org, or god knows what if it competes rocket.chat or Slack.
let me just leave my impressions here., and dont you delete this ๐Ÿ™ˆ

๐Ÿพ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.