Description of problem: Create etherepad-example quickstart and git push, there are some error: Version-Release number of selected component (if applicable): INT(devenv_4810) devenv_4811 How reproducible: always Steps to Reproduce: 1. create one nodejs cartridge with mongodb-2.4 # rhc app create etherpad nodejs-0.6 mongodb-2.4 2. Add etherpad quickstart and git push # cd etherpad # git remote add upstream -m master git://github.com/openshift/etherpad-example.git #git pull -s recursive -X theirs upstream master #git push Actual results: git push will meet error: remote: npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/minimatch/test' remote: npm ERR! error rolling back jshint.1 { [Error: ENOTEMPTY, rmdir '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/minimatch/test'] remote: npm ERR! error rolling back errno: 53, remote: npm ERR! error rolling back code: 'ENOTEMPTY', remote: npm ERR! error rolling back path: '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/minimatch/test' } remote: npm ERR! Error: No compatible version found: date-now@'^0.1.4' remote: npm ERR! Valid install targets: remote: npm ERR! ["0.1.0","0.1.1","0.1.3","0.1.2","0.1.4","1.0.0"] remote: npm ERR! at installTargetsError (/usr/lib/node_modules/npm/lib/cache.js:588:10) remote: npm ERR! at /usr/lib/node_modules/npm/lib/cache.js:466:15 remote: npm ERR! at saved (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:136:7) remote: npm ERR! at Object.oncomplete (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:230:7) remote: npm ERR! [Error: No compatible version found: date-now@'^0.1.4' remote: npm ERR! Valid install targets: remote: npm ERR! ["0.1.0","0.1.1","0.1.3","0.1.2","0.1.4","1.0.0"]] remote: npm ERR! You may report this log at: remote: npm ERR! <http://github.com/isaacs/npm/issues> remote: npm ERR! or email it to: remote: npm ERR! <npm-> remote: remote: npm ERR! System Linux 2.6.32-431.17.1.el6.x86_64 remote: npm ERR! command "node" "/usr/bin/npm" "install" "-d" remote: npm ERR! cwd /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo remote: npm ERR! node -v v0.6.20 remote: npm ERR! npm -v 1.1.37 remote: npm ERR! message No compatible version found: date-now@'^0.1.4' remote: npm ERR! message Valid install targets: remote: npm ERR! message ["0.1.0","0.1.1","0.1.3","0.1.2","0.1.4","1.0.0"] remote: npm ERR! EEXIST, mkdir '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/cli/examples' remote: File exists: /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/cli/examples remote: Move it away, and try again. remote: remote: npm ERR! System Linux 2.6.32-431.17.1.el6.x86_64 remote: npm ERR! command "node" "/usr/bin/npm" "install" "-d" remote: npm ERR! cwd /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo remote: npm ERR! node -v v0.6.20 remote: npm ERR! npm -v 1.1.37 remote: npm ERR! path /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/cli/examples remote: npm ERR! fstream_path /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/cli/examples/static.coffee remote: npm ERR! fstream_type File remote: npm ERR! fstream_class FileWriter remote: npm ERR! code EEXIST remote: npm ERR! message EEXIST, mkdir '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/cli/examples' remote: npm ERR! errno 47 remote: npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23 remote: npm ERR! fstream_stack Object.oncomplete (/usr/lib/node_modules/npm/node_modules/mkdirp/index.js:45:53) remote: npm ERR! 47 errno remote: npm ERR! Error: ENOENT, open '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/shelljs/src/grep.js' remote: npm ERR! { [Error: ENOENT, open '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/shelljs/src/grep.js'] remote: npm ERR! errno: 34, remote: npm ERR! code: 'ENOENT', remote: npm ERR! path: '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/shelljs/src/grep.js' } remote: npm ERR! You may report this log at: remote: npm ERR! <http://github.com/isaacs/npm/issues> remote: npm ERR! or email it to: remote: npm ERR! <npm-> remote: remote: npm ERR! System Linux 2.6.32-431.17.1.el6.x86_64 remote: npm ERR! command "node" "/usr/bin/npm" "install" "-d" remote: npm ERR! cwd /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo remote: npm ERR! node -v v0.6.20 remote: npm ERR! npm -v 1.1.37 remote: npm ERR! path /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/shelljs/src/grep.js remote: npm ERR! code ENOENT remote: npm ERR! message ENOENT, open '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/shelljs/src/grep.js' remote: npm ERR! errno 34 remote: npm ERR! 34 errno remote: npm ERR! Error: ENOENT, open '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/htmlparser2/test/Events/21-entity_in_attribute.json' remote: npm ERR! { [Error: ENOENT, open '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/htmlparser2/test/Events/21-entity_in_attribute.json'] remote: npm ERR! errno: 34, remote: npm ERR! code: 'ENOENT', remote: npm ERR! path: '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/htmlparser2/test/Events/21-entity_in_attribute.json' } remote: npm ERR! You may report this log at: remote: npm ERR! <http://github.com/isaacs/npm/issues> remote: npm ERR! or email it to: remote: npm ERR! <npm-> remote: remote: npm ERR! System Linux 2.6.32-431.17.1.el6.x86_64 remote: npm ERR! command "node" "/usr/bin/npm" "install" "-d" remote: npm ERR! cwd /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo remote: npm ERR! node -v v0.6.20 remote: npm ERR! npm -v 1.1.37 remote: npm ERR! path /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/htmlparser2/test/Events/21-entity_in_attribute.json remote: npm ERR! code ENOENT remote: npm ERR! message ENOENT, open '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/htmlparser2/test/Events/21-entity_in_attribute.json' remote: npm ERR! errno 34 remote: npm ERR! 34 errno remote: npm info /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/minimatch unbuild remote: npm ERR! Error: ENOENT, lstat '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/exit/test/fixtures/1000-stdout.txt' remote: npm ERR! { [Error: ENOENT, lstat '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/exit/test/fixtures/1000-stdout.txt'] remote: npm ERR! errno: 34, remote: npm ERR! code: 'ENOENT', remote: npm ERR! path: '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/exit/test/fixtures/1000-stdout.txt', remote: npm ERR! fstream_type: 'File', remote: npm ERR! fstream_path: '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/exit/test/fixtures/1000-stdout.txt', remote: npm ERR! fstream_class: 'FileWriter', remote: npm ERR! fstream_stack: [ 'Object.oncomplete (/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26)' ] } remote: npm ERR! You may report this log at: remote: npm ERR! <http://github.com/isaacs/npm/issues> remote: npm ERR! or email it to: remote: npm ERR! <npm-> remote: remote: npm ERR! System Linux 2.6.32-431.17.1.el6.x86_64 remote: npm ERR! command "node" "/usr/bin/npm" "install" "-d" remote: npm ERR! cwd /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo remote: npm ERR! node -v v0.6.20 remote: npm ERR! npm -v 1.1.37 remote: npm ERR! path /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/exit/test/fixtures/1000-stdout.txt remote: npm ERR! fstream_path /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/exit/test/fixtures/1000-stdout.txt remote: npm ERR! fstream_type File remote: npm ERR! fstream_class FileWriter remote: npm ERR! code ENOENT remote: npm ERR! message ENOENT, lstat '/var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/jshint/node_modules/exit/test/fixtures/1000-stdout.txt' remote: npm ERR! errno 34 remote: npm ERR! fstream_stack Object.oncomplete (/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26) remote: npm ERR! 34 errno remote: npm info shasum 83b80f28cdcd7ba7d229c1cc75c65cf0576802d7 remote: npm info shasum /var/lib/openshift/537f73c2b66849844f00013e/.npm/traverse/0.6.6/package.tgz remote: npm info install traverse.6 into /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/ueberDB/node_modules/mysql/node_modules/hashish remote: npm info installOne traverse.6 remote: npm info /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/ueberDB/node_modules/mysql/node_modules/hashish/node_modules/traverse unbuild remote: npm info preinstall traverse.6 remote: npm info build /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/ueberDB/node_modules/mysql/node_modules/hashish/node_modules/traverse remote: npm info linkStuff traverse.6 remote: npm info install traverse.6 remote: npm info postinstall traverse.6 remote: npm info build /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/ueberDB/node_modules/mysql/node_modules/hashish remote: npm info linkStuff hashish.4 remote: npm info install hashish.4 remote: npm info postinstall hashish.4 remote: npm info build /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/ueberDB/node_modules/mysql remote: npm info linkStuff mysql.5 remote: npm info install mysql.5 remote: npm info postinstall mysql.5 remote: npm info build /var/lib/openshift/537f73c2b66849844f00013e/app-root/runtime/repo/node_modules/ueberDB remote: npm info linkStuff ueberDB.7 remote: npm info install ueberDB.7 remote: npm info postinstall ueberDB.7 remote: npm info shasum 72492086a46c858a134398391a337b271b63aeaa remote: npm info shasum /var/lib/openshift/537f73c2b66849844f00013e Expected results: can git push Additional info:
So the problem is that the etherpad quickstart could be running only under nodejs-0.8 or nodejs-0.10. When you use oneliner co create app: rhc app create ether nodejs-0.6 mongodb-2.4 --from-code=https://github.com/wshearn/etherpad-example.git it will tell you "You're running a wrong version of node, you're using v0.6.20, we need v0.8.x or v0.10.x" Problem is that 0.6 and 0.10 are incompatible so this particular etherpad won't run under 0.6. Closing this one.