无法在openssh上启动npm

时间:2016-07-29 12:22:19

标签: node.js

[simpleform-newtab.rhcloud.com 579a4fb389f5cf39a10001ce]\> npm start
npm ERR! Linux 2.6.32-573.26.1.el6.x86_64
npm ERR! argv "node" "/opt/rh/nodejs010/root/usr/bin/npm" "start"
npm ERR! node v0.10.35
npm ERR! npm  v2.14.13
npm ERR! path /var/lib/openshift/579a4fb389f5cf39a10001ce/package.json
npm ERR! code ENOENT
npm ERR! errno 34

npm ERR! enoent ENOENT, open '/var/lib/openshift/579a4fb389f5cf39a10001ce/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 
npm ERR! Linux 2.6.32-573.26.1.el6.x86_64
npm ERR! argv "node" "/opt/rh/nodejs010/root/usr/bin/npm" "start"
npm ERR! node v0.10.35
npm ERR! npm  v2.14.13
npm ERR! path npm-debug.log.c32a17123a601495c6c642c82680c9b3
npm ERR! code EACCES
npm ERR! errno 3

npm ERR! Error: EACCES, open 'npm-debug.log.c32a17123a601495c6c642c82680c9b3'
npm ERR!  { [Error: EACCES, open 'npm-debug.log.c32a17123a601495c6c642c82680c9b3']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: 'npm-debug.log.c32a17123a601495c6c642c82680c9b3' }
npm ERR! 
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR!     /var/lib/openshift/579a4fb389f5cf39a10001ce/npm-debug.log

0 个答案:

没有答案