I have done quite some search already. However, still having doubts about the main parameter in package.json of Node.js.   How would filling in this field helps? Asking in another way, can I start the module in a different style if this field present...
I am making a multiplayer game using Socket.io, Node.js, and Openshift. It was working for a while, but I made a few small changes and now something unrelated to what I changed has broken. When a second player tries to join the game, it boots everyon...
I'm trying to run Ghostdriver inside my Openshift server. As i run this command:  ./phantomjs --webdriver=15002  It says:  PhantomJS is launching GhostDriver... [ERROR - 2014-08-01T04:14:21.160Z] GhostDriver - main.fail - {"message":"...
Following another SO question, the latest I have been trying is (see ligatures.net):  self.ipaddress = process.env.OPENSHIFT_NODEJS_IP; self.port      = process.env.OPENSHIFT_NODEJS_PORT || 443;  if (typeof self.ipaddress === "undefined") {...
I can't get socket.io running on OpenShift. I googled for some hours now but nothing really helped me. Locally it works fine (with different ports and localhost as host of course).   This is my server.js file:  var port      = process.env.OPENSHI...
I have a web page which needs to include external javascript libraries. I have downloaded them and include in the php->libraries folder. My application is hosted in openshift cloud. I want to include those javascript files in my php file. I have u...
I'm using Node.js 0.10 + WebSocket-Node (Seen here) hosted by openshift  and thats pretty much it, i'm not using express.  Other than being unable to get any connecting client's ip address the server is otherwise behaving exactly as inten...
Summary:  I am working on an admin panel for a sails.js based website. I have configured websockets to work in my localhost. But when I deploy to openshift, only the io.socket.on('connect',...); is firing. But when I publishAdd a record, noth...
I am using OpenShift and Node.js I am trying to get the average - rating for each result but I cant  get the response to work even though the console reports correctly. I get 3.9454323 into the console , but when I git localhost:3002/getM/1 the respo...
My code when deployed locally connects to Websocket endpoint as     var connection = new WebSocket('ws://127.0.0.1:8080/tweetstream/tweets');     I deployed this to Openshift and the URL changes to http://map-tweetstream.rhcloud.com/tweetstre...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.