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...
When I deploy a Sails.js app to OpenShift it restarts over and over again.  So basically I am having the exact same problem with the same output from rhc tail described in this question and this answer describes why this error is occurring but there...
I'm using ES6 with babel-node to create my app and I require my app to start with the command babel-node app.js. This command is listed in scripts: start in my package.json so the command npm start runs the correct command.   Open shift starts no...
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 have a scalable app in OpenShift with MongoDb2.2 ad NodeJs0.10,  Since i can't use Cartridge rockmongo-1.1 because it cannot be embedded in scalable app,  How can i get my db'documents and do a Backup and Restore with ssh ?...
I'm writing a RESTful api with Laravel 4 that will be used by a Backbone.js app.  When I deploy my code using GIT, I receive a message saying:     Application directory "public/" selected as DocumentRoot   When using the Backbone.js app,...
I locally wrote a nodeJS app using socket.io and express modules. I wanted to use openshift for hosting. So I changed the main .js to server.js which seems to be the index equivalent of the openshift file and changed the server port setting to:  var...
I want to start a Nodejs application on Openshift and because I want use persistent files (like images) I need to store them in the OPENSHIFT_DATA_DIR directory.  I've made this action_hooks for the build phase:  #!/bin/bash  #First of all I chec...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.