mirror of
https://github.com/asapach/peerflix-server.git
synced 2026-04-25 14:45:50 +03:00
[GH-ISSUE #121] getting error while deploy on openshift #102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nk932714 on GitHub (Sep 5, 2017).
Original GitHub issue: https://github.com/asapach/peerflix-server/issues/121
Can you add description about how to deploy this repo on Openshift
when i am trying to deploy i am getting this errror
----- logs-------
Cloning "https://github.com/asapach/peerflix-server.git" ...
Commit:
cfeb3363e7(enabled node 8 in travis)Author: Aliaksei Sapach aliaksei.dreamsonic@gmail.com
Date: Sun Aug 27 14:23:12 2017 +0300
Pulling image "registry.access.redhat.com/rhscl/nodejs-4-rhel7@sha256:38e9ba4a2d9905d727601b3c364cdd7985688db2c3d6c4f6b447c7c4854acec1" ...
---> Installing application source ...
---> Building your Node application from source
npm WARN deprecated grunt-ngmin@0.0.3: use grunt-ng-annotate instead
npm WARN deprecated ngmin@0.4.1: use ng-annotate instead
npm WARN deprecated connect@2.30.2: connect 2.x series is deprecated
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130 npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"4.6.2","npm":"2.15.1"})
npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"4.6.2","npm":"2.15.1"}) npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"4.6.2","npm":"2.15.1"}) npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"4.6.2","npm":"2.15.1"}) npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"4.6.2","npm":"2.15.1"}) npm WARN optional dep failed, continuing fsevents@1.1.2 > phantomjs@1.9.20 install /opt/app-root/src/node_modules/karma-phantomjs-launcher/node_modules/phantomjs > node install.js PhantomJS not found on PATH Downloading https://github.com/Medium/phantomjs/releases/download/v1.9.19/phantomjs-1.9.8-linux-x86_64.tar.bz2 Saving to /tmp/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2 Receiving...
@asapach commented on GitHub (Sep 5, 2017):
I don't see any errors, just the usual warnings. Haven't tried OpenShift, but might give it a go eventually.
@nk932714 commented on GitHub (Sep 12, 2017):
while using npm start i get the following error
@asapach commented on GitHub (Sep 12, 2017):
Strange. It looks like they don't allow creating files in the home folder. We could ignore that error and carry on, but then again - what else don't they allow? I'll need to check it out.
@asapach commented on GitHub (Sep 16, 2017):
I've spent a coupe of hours trying to figure out what's going on in the OpenShift console and my best guess is:
npm installbecause it seems to be running inside a resource-constrained 512MB container and just times out.root, nor as a custom user. They seem to have some rather specific requirements they expect from Docker images and I wasn't able to figure out the right combination.I'd suggest going with their starer kit and just adding
peerflix-serveras a local npm dependency and just running it asnpm run peerflix-server.@nk932714 commented on GitHub (Sep 20, 2017):
ok thanks i will try with their starer kit @asapach