Skip to content

Instantly share code, notes, and snippets.

@dmueller2001
Created June 17, 2014 22:23
Show Gist options
  • Save dmueller2001/2b55a3d335a578c2a40f to your computer and use it in GitHub Desktop.
Save dmueller2001/2b55a3d335a578c2a40f to your computer and use it in GitHub Desktop.
Tests-MacBook-Air:index test$ rhc ssh index
Connecting to 5359c1d34382ec2a6d000697@index-clawbackend.rhcloud.com ...
*********************************************************************
You are accessing a service that is for use only by authorized users.
If you do not have authorization, discontinue use at once.
Any use of the services is subject to the applicable terms of the
agreement which can be found at:
https://www.openshift.com/legal
*********************************************************************
Welcome to OpenShift shell
This shell will assist you in managing OpenShift applications.
!!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!!
Shell access is quite powerful and it is possible for you to
accidentally damage your application. Proceed with care!
If worse comes to worst, destroy your application with "rhc app delete"
and recreate it
!!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!!
Type "help" for more info.
[index-clawbackend.rhcloud.com 5359c1d34382ec2a6d000697]\> npm --cache $OPENSHIFT_DATA_DIR/.npm install clean-css@2.1.8
npm http GET https://registry.npmjs.org/clean-css/2.1.8
npm http 200 https://registry.npmjs.org/clean-css/2.1.8
npm http GET https://registry.npmjs.org/clean-css/-/clean-css-2.1.8.tgz
npm http 200 https://registry.npmjs.org/clean-css/-/clean-css-2.1.8.tgz
npm WARN engine clean-css@2.1.8: wanted: {"node":">=0.8.0"} (current: {"node":"0.6.20","npm":"1.1.37"})
npm ERR! Error: EACCES, mkdir '/var/lib/openshift/5359c1d34382ec2a6d000697/node_modules'
npm ERR! { [Error: EACCES, mkdir '/var/lib/openshift/5359c1d34382ec2a6d000697/node_modules']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/var/lib/openshift/5359c1d34382ec2a6d000697/node_modules',
npm ERR! fstream_type: 'Directory',
npm ERR! fstream_path: '/var/lib/openshift/5359c1d34382ec2a6d000697/node_modules/clean-css',
npm ERR! fstream_class: 'DirWriter',
npm ERR! fstream_stack:
npm ERR! [ '/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23',
npm ERR! 'Object.oncomplete (/usr/lib/node_modules/npm/node_modules/mkdirp/index.js:51:17)' ] }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Linux 2.6.32-431.17.1.el6.x86_64
npm ERR! command "node" "/usr/bin/npm" "--cache" "/var/lib/openshift/5359c1d34382ec2a6d000697/app-root/data//.npm" "install" "clean-css@2.1.8"
npm ERR! cwd /var/lib/openshift/5359c1d34382ec2a6d000697
npm ERR! node -v v0.6.20
npm ERR! npm -v 1.1.37
npm ERR! path /var/lib/openshift/5359c1d34382ec2a6d000697/node_modules
npm ERR! fstream_path /var/lib/openshift/5359c1d34382ec2a6d000697/node_modules/clean-css
npm ERR! fstream_type Directory
npm ERR! fstream_class DirWriter
npm ERR! code EACCES
npm ERR! message EACCES, mkdir '/var/lib/openshift/5359c1d34382ec2a6d000697/node_modules'
npm ERR! errno 3
npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack Object.oncomplete (/usr/lib/node_modules/npm/node_modules/mkdirp/index.js:51:17)
npm ERR! 3 errno
npm ERR! Error: EACCES, open 'npm-debug.log'
npm ERR! { [Error: EACCES, open 'npm-debug.log'] errno: 3, code: 'EACCES', path: 'npm-debug.log' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Linux 2.6.32-431.17.1.el6.x86_64
npm ERR! command "node" "/usr/bin/npm" "--cache" "/var/lib/openshift/5359c1d34382ec2a6d000697/app-root/data//.npm" "install" "clean-css@2.1.8"
npm ERR! cwd /var/lib/openshift/5359c1d34382ec2a6d000697
npm ERR! node -v v0.6.20
npm ERR! npm -v 1.1.37
npm ERR! path npm-debug.log
npm ERR! code EACCES
npm ERR! message EACCES, open 'npm-debug.log'
npm ERR! errno 3
npm ERR! 3 errno
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/lib/openshift/5359c1d34382ec2a6d000697/npm-debug.log
npm ERR! not ok code undefined
npm ERR! not ok code 3
[index-clawbackend.rhcloud.com 5359c1d34382ec2a6d000697]\> ls
app-deployments app-root git python
[index-clawbackend.rhcloud.com 5359c1d34382ec2a6d000697]\> sudo Please try running this command again as root/Administrator.
bash: /usr/bin/sudo: Permission denied
[index-clawbackend.rhcloud.com 5359c1d34382ec2a6d000697]\> npm --cache $OPENSHIFT_DATA_DIR/.npm install clean-css@2.1.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment