2
node0.10
카트리지에서 사용자 노드 버전을 실행하는 데 문제가 있습니다.이 노드는 오픈 시프트로 here을 찾을 수 있습니다.Openshift의 사용자 정의 node.js 버전
새로운 노드 버전을 설치하는 것만으로도 오픈 시프트는 이전 노드 10.25
을 계속 사용합니다.
Deoploy 로그 : 나는 말한다 응용 프로그램 실행 때까지
remote: Activating deployment
remote: - Checking to see if Node.js version 0.10.33 is installed ...
remote: - Node.js version 0.10.33 is already installed
remote:
remote: - pre_start_nodejs: Adding Node.js version 0.10.33 binaries to path
remote: -this is the path: /var/lib/openshift/54b6ea6e4382ece151000039/app-root/data/node-v0.10.33-linux-x64/bin:/var/lib/openshift/54b6ea6e4382ece151000039/app-root/runtime/repo/node_modules/.bin:/var/lib/openshift/54b6ea6e4382ece151000039//.node_modules/.bin:/opt/rh/nodejs010/root/usr/bin:/bin:/usr/bin:/usr/sbin
remote: - PATH set to include custom node version (0.10.33) from
remote: /var/lib/openshift/54b6ea6e4382ece151000039/app-root/data/node-v0.10.33-linux-x64/bin
remote: PATH = /var/lib/openshift/54b6ea6e4382ece151000039/app-root/data/node-v0.10.33-linux-x64/bin:/var/lib/openshift/54b6ea6e4382ece151000039/app-root/runtime/repo/node_modules/.bin:/var/lib/openshift/54b6ea6e4382ece151000039//.node_modules/.bin:/opt/rh/nodejs010/root/usr/bin:/bin:/usr/bin:/usr/sbin
remote: Starting NodeJS cartridge
모든 것은, 위대하고 멋진 외모 : 10.25를 ... 꼬리 RHC
:
v0.10.25
/opt/rh/nodejs010/root/usr/bin:/opt/rh/v8314/root/usr/bin:/var/lib/openshift/54b6feb9e0b8cd56c00000e1/app-root/data/node-v0.10.33-linux-x64/bin:/var/lib/openshift/54b6feb9e0b8cd56c00000e1/app-root/runtime/repo/node_modules/.bin:/var/lib/openshift/54b6feb9e0b8cd56c00000e1//.node_modules/.bin:/opt/rh/nodejs010/root/usr/bin:/bin:/usr/bin:/usr/sbin
undefined
경우에도 내가 rhc ssh
내 애플 리케이션에 node -v
10.33 얻을 ...
시작 시간에 PATH의 ENV는 ...
PS를 덮어 및 이전 쓰레기통을 사용하는 노드가 발생됩니다 : 나는 유성 응용 프로그램 (1.0.2.1)
아직이 방법을 사용해 보지 않으셨습니까? https://blog.openshift.com/any-version-of-nodejs-you-want-in-the-cloud-openshift-does-it-paas-style/ –
튜토리얼에 언급 된 repo가 더 이상 존재하지 않으므로 나는하지 않았다. –