foxdog-studios / meteor-webrtc

WebRTC signalling for Meteor
Apache License 2.0
76 stars 17 forks source link

Getting errors on server console #11

Open mesameen opened 8 years ago

mesameen commented 8 years ago

When I place "stream = new Meteor.Stream('signalling');" piece of code in shared file,getting the following errors. Could you help me to resolve the following errors?

Errors:

W20160615-23:02:53.805(5.5)? (STDERR) W20160615-23:02:53.805(5.5)? (STDERR) C:\Users\Sandeep Sandy\AppData\Local.met or\packages\meteor-tool\1.3.2_4\mt-os.windows.x86_32\dev_bundle\server-lib\node modules\fibers\future.js:245 W20160615-23:02:53.806(5.5)? (STDERR) throw(ex); W20160615-23:02:53.806(5.5)? (STDERR) ^ W20160615-23:02:53.806(5.5)? (STDERR) TypeError: undefined is not a function W20160615-23:02:53.806(5.5)? (STDERR) at meteorInstall.lib.Utils.js (lib/Utils.js:8:10) W20160615-23:02:53.807(5.5)? (STDERR) at fileEvaluate (packages/modules-run ime/.npm/package/node_modules/install/install.js:141:1) W20160615-23:02:53.807(5.5)? (STDERR) at require (packages/modules-runtime/ npm/package/nodemodules/install/install.js:75:1) W20160615-23:02:53.807(5.5)? (STDERR) at D:\Enabal\humxpress.meteor\local\ uild\programs\server\app\app.js:1168:1 W20160615-23:02:53.807(5.5)? (STDERR) at D:\Enabal\humxpress.meteor\local\ uild\programs\server\boot.js:283:10 W20160615-23:02:53.807(5.5)? (STDERR) at Array.forEach (native) W20160615-23:02:53.808(5.5)? (STDERR) at Function..each._.forEach (C:\User \Sandeep Sandy\AppData\Local.meteor\packages\meteor-tool\1.3.2_4\mt-os.windows x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11) W20160615-23:02:53.808(5.5)? (STDERR) at D:\Enabal\humxpress.meteor\local\ uild\programs\server\boot.js:133:5 => Exited with code: 8 W20160615-23:03:01.322(5.5)? (STDERR) W20160615-23:03:01.322(5.5)? (STDERR) C:\Users\Sandeep Sandy\AppData\Local.met or\packages\meteor-tool\1.3.2_4\mt-os.windows.x86_32\dev_bundle\server-lib\node modules\fibers\future.js:245 W20160615-23:03:01.322(5.5)? (STDERR) throw(ex); W20160615-23:03:01.323(5.5)? (STDERR) ^ W20160615-23:03:01.323(5.5)? (STDERR) TypeError: undefined is not a function W20160615-23:03:01.323(5.5)? (STDERR) at meteorInstall.lib.Utils.js (lib/Ut ls.js:8:10) W20160615-23:03:01.325(5.5)? (STDERR) at fileEvaluate (packages/modules-run ime/.npm/package/node_modules/install/install.js:141:1) W20160615-23:03:01.325(5.5)? (STDERR) at require (packages/modules-runtime/ npm/package/nodemodules/install/install.js:75:1) W20160615-23:03:01.326(5.5)? (STDERR) at D:\Enabal\humxpress.meteor\local\ uild\programs\server\app\app.js:1168:1 W20160615-23:03:01.326(5.5)? (STDERR) at D:\Enabal\humxpress.meteor\local\ uild\programs\server\boot.js:283:10 W20160615-23:03:01.326(5.5)? (STDERR) at Array.forEach (native) W20160615-23:03:01.326(5.5)? (STDERR) at Function..each._.forEach (C:\User \Sandeep Sandy\AppData\Local.meteor\packages\meteor-tool\1.3.2_4\mt-os.windows x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11) W20160615-23:03:01.326(5.5)? (STDERR) at D:\Enabal\humxpress.meteor\local\ uild\programs\server\boot.js:133:5 => Exited with code: 8 W20160615-23:03:09.011(5.5)? (STDERR) W20160615-23:03:09.011(5.5)? (STDERR) C:\Users\Sandeep Sandy\AppData\Local.met or\packages\meteor-tool\1.3.2_4\mt-os.windows.x86_32\dev_bundle\server-lib\node modules\fibers\future.js:245 W20160615-23:03:09.011(5.5)? (STDERR) throw(ex); W20160615-23:03:09.012(5.5)? (STDERR) ^ W20160615-23:03:09.012(5.5)? (STDERR) TypeError: undefined is not a function W20160615-23:03:09.012(5.5)? (STDERR) at meteorInstall.lib.Utils.js (lib/Ut ls.js:8:10) W20160615-23:03:09.012(5.5)? (STDERR) at fileEvaluate (packages/modules-run ime/.npm/package/node_modules/install/install.js:141:1) W20160615-23:03:09.012(5.5)? (STDERR) at require (packages/modules-runtime/ npm/package/nodemodules/install/install.js:75:1) W20160615-23:03:09.014(5.5)? (STDERR) at D:\Enabal\humxpress.meteor\local\ uild\programs\server\app\app.js:1168:1 W20160615-23:03:09.014(5.5)? (STDERR) at D:\Enabal\humxpress.meteor\local\ uild\programs\server\boot.js:283:10 W20160615-23:03:09.014(5.5)? (STDERR) at Array.forEach (native) W20160615-23:03:09.015(5.5)? (STDERR) at Function..each._.forEach (C:\User \Sandeep Sandy\AppData\Local.meteor\packages\meteor-tool\1.3.2_4\mt-os.windows x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11) W20160615-23:03:09.015(5.5)? (STDERR) at D:\Enabal\humxpress.meteor\local\ uild\programs\server\boot.js:133:5 => Exited with code: 8 => Your application is crashing. Waiting for file change.

mesameen commented 8 years ago

@eldog @dj-foxxy , can you help me.

eldog commented 8 years ago

Hi I just tried to get the example in the project running and it didn't appear to be able to do a chat with two users (no errors reported though). I'm not sure if it's because it is meteor 1.3 and don't have time to check at the moment.

Also Meteor Streams is a dead project and the signalling should be done using either collections or streamy.

eldog commented 8 years ago

As for your errors, is Meteor Streams installed in your app? I wouldn't recommend using it, but that looks like what the problem could be.

mesameen commented 8 years ago

https://github.com/arunoda/meteor-streams/issues/5 Can you check this link, I think there is an issue with insecure of meteor. Will this plugin useful for 1.3.3 version? If not can you suggest a way which will be helpful to fulfill your tool's capabilities.

Thanks for your response. @eldog

mesameen commented 8 years ago

@eldog @dj-foxxy

Are you not gonna give any support for this tool?

eldog commented 8 years ago

It has not been updated for 1.3.3 yet, so we don't know if it works. However, Your errors look like a different problem with running Meteor in windows.

For EebRTC you may be better off using a node WebRTC library from the npm and then using streamy for the signalling.