2016-10-22 2 views
-1

얘들 아 .... 그냥 디지털 오션에 신선한 리눅스 머신을 설정오류는 리눅스 시스템에서 내 MEANStack - 서버를 설치하는 문제가 생겼어요

를 설치하고 스택을 설치와 함께 진행./opt/mean에 npm을 설치하는 동안 모두 out of line으로 시작되었습니다.

설치

그렇게 죽었다 : 당신의

/opt/mean$ npm start 

> [email protected] start /opt/mean 
> gulp 

module.js:327 
    throw err; 
    ^

Error: Cannot find module 'process-nextick-args' 
    at Function.Module._resolveFilename (module.js:325:15) 
    at Function.Module._load (module.js:276:25) 
    at Module.require (module.js:353:17) 
    at require (internal/module.js:12:17) 
    at Object.<anonymous> (/opt/mean/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/lib/_stream_duplex.js:21:23) 
    at Module._compile (module.js:409:26) 
    at Object.Module._extensions..js (module.js:416:10) 
    at Module.load (module.js:343:32) 
    at Function.Module._load (module.js:300:12) 
    at Module.require (module.js:353:17) 

npm ERR! Linux 4.4.0-45-generic 
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" 
npm ERR! node v4.6.1 
npm ERR! npm v3.10.9 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] start: `gulp` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] start script 'gulp'. 
npm ERR! Make sure you have the latest version of node.js and npm installed. 
npm ERR! If you do, this is most likely a problem with the meanjs package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  gulp 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs meanjs 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls meanjs 
npm ERR! There is likely additional logging output above. 
npm ERR! Linux 4.4.0-45-generic 
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" 
npm ERR! node v4.6.1 
npm ERR! npm v3.10.9 
npm ERR! path npm-debug.log.2338324848 
npm ERR! code EACCES 
npm ERR! errno -13 
npm ERR! syscall open 

npm ERR! Error: EACCES: permission denied, open 'npm-debug.log.2338324848' 
npm ERR!  at Error (native) 
npm ERR! { [Error: EACCES: permission denied, open 'npm-debug.log.2338324848'] 
npm ERR! errno: -13, 
npm ERR! code: 'EACCES', 
npm ERR! syscall: 'open', 
npm ERR! path: 'npm-debug.log.2338324848' } 
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!  /opt/mean/npm-debug.log 

누구나 아이디어를 가지고 무슨 잘못 방법이나 실제 오류를 찾기 위해 진행 :

/opt/mean$ sudo npm install 
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 
Killed   ....]/extract:socket.io: sill doParallel extract 833 

even minimatch 3.0.2 is installed: 
/opt/mean$ npm -v minimatch 
3.10.9 

이가집니다 어쨌든 시작 NPM 수행?

최고 Fabian

답변

0

나는 이러한 오류에 직면 해있다. 시험해보십시오 npm updatenpm install npm -g

관련 문제