readable-proxy icon indicating copy to clipboard operation
readable-proxy copied to clipboard

Doesn't work with OpenShift

Open jlelse opened this issue 10 years ago • 3 comments

I tried creating node js application on OpenShift and provided the link to this repo as source but it doesn't work. The application won't start. What can I do?

jlelse avatar Jul 19 '15 18:07 jlelse

@jlelse Can you elaborate on this? What the error are?

Natim avatar Jul 20 '15 07:07 Natim

@Natim I don't know how I should describe it. But how can I deploy readable-proxy to openshift server?

jlelse avatar Jul 22 '15 15:07 jlelse

When I try to start the application I get following error. I think there are some dependencies missing. What dependencies need to be installed?

 [readproxy-readit.rhcloud.com repo]\> npm start

 [email protected] start /var/lib/openshift/55b0f97c5973caca6f000069/app-root/runtime/repo
 node run.js


events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: listen EACCES
    at errnoException (net.js:905:11)
    at Server._listen2 (net.js:1024:19)
    at listen (net.js:1065:10)
    at Server.listen (net.js:1139:5)
    at EventEmitter.listen (/var/lib/openshift/55b0f97c5973caca6f000069/app-root/runtime/repo/node_modules/express/lib/application.js:617:24)
    at Object.exports.serve (/var/lib/openshift/55b0f97c5973caca6f000069/app-root/runtime/repo/server.js:54:20)
    at Object.<anonymous> (/var/lib/openshift/55b0f97c5973caca6f000069/app-root/runtime/repo/run.js:1:83)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:929:3

npm ERR! [email protected] start: `node run.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is most likely a problem with the readable-proxy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node run.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls readable-proxy
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.32-504.16.2.el6.x86_64
npm ERR! command "node" "/opt/rh/nodejs010/root/usr/bin/npm" "start"
npm ERR! cwd /var/lib/openshift/55b0f97c5973caca6f000069/app-root/runtime/repo
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /var/lib/openshift/55b0f97c5973caca6f000069/app-root/runtime/repo/npm-debug.log
npm ERR! not ok code 0```

jlelse avatar Jul 23 '15 15:07 jlelse