2017-09-15 1 views
-5

//이 그것을 확인 1 자세한 CLI로 끝나는 경우
0 정보가이 일을 오류 로그 세부 사항은 [ 'C : \ 프로그램 파일 \ nodejs \ node.exe', 1 자세한 cli 'C : \ Users \ SamiUllahJan \ AppData \ Roaming \ npm \ node_modules \ npm \ bin \ npm-cli.js', 1 verbose cli 'start'] 2 정보 [email protected]를 사용하여 3 정보 노드를 사용하여 @ v6.11.3 4 개의 자세한 스택 오류 : 누락 된 스크립트 : 시작 실행시 자세한 스택 4 개 (C : \ Users \ SamiUllahJan \ AppData \ Roaming \ npm \ node_modules \ npm \ lib \ run-script.js : 151 : 19) C : \ Users \ SamiUllahJan \ AppData \ Roaming \ npm \ node_modules \ npm \ lib \ run-script.js의 자세한 스택 4 개 : 61 : 5 C : \ Users \ SamiUllahJan \ AppData \ Roaming \ npm \ node_modules \ npm \ node_modules \ read-package-json \ read-json.js : 115 : 5 C : \ Users \ SamiUllahJan의 자세한 스택 4 개 (C : \ Users \ SamiUllahJan \ AppData \ Roaming \ npm \ node_modules \ 402)에 4 개의 자세한 스택이 있습니다. \ AppServer \ Roaming \ npm \ node_modules \ npm \ node_modules \ read-json.js : 402 : 5 checkBinReferences_ 최종 4 개의 자세한 스택 (C : \ Users \ SamiUllahJan \ AppData \ Roaming \ npm \ node_modules \ npm \ node_modules \ read-package-npm \ node_modules \ read-json.js : 357 : 45) (C : \ Users \ SamiUllahJan \ AppData \ Roaming \ npm \ node_modules \ npm \ node_modules \ read-package-json \ read-json.js : 160 : 5) ReadFileContext에서 4 개의 자세한 스택. (C : \ Users \ SamiUllahJan \ AppData \ Roaming \ npm \ node_modules \ npm \ node_modules \ read-package-json \ read-json.js : 332 : 20) ReadFileContext.callback (C : \ Users \ (fs.js : 367 : 13) FSReqWrap.readFileAfterOpen (fs.js : 367 : 13)에 4 개의 자세한 스택이 있음 (fs.js : 367 : 13) 5 세부 정보 표시 줄 C : \ Samy \ Code School 6 자세한 Windows_NT 6.3.9600 7 자세한 정보 argv "C : \ Program Files \ nodejs \ node.exe" "C : \ Users \ SamiUllahJan \ AppData \ Roaming \ npm \ node_modules \ NPM \는 빈 \ NPM-cli.js는 " 8 자세한 노드 v6.11.3이 9 자세한 NPM의 v5.4.2 (10) 오류없는 스크립트는"시작 "[TRUE 1] 11 자세한 종료를 시작NPM 시작주는 오류

답변

0

당신은

npm start 

NPM 당신이 정의되지 않은 package.json 파일의 시작 스크립트를 찾습니다 터미널에서 입력 할 때.

는 (스크립트 속성에주의)과 같이 당신의 package.json 파일을 변경

:

{ 
    "name": "sample-app", 
    "version": "1.0.0", 
    "description": "", 
    "scripts": { 
    "start": "node index.js" 
    } 
}