1
Apache Cordova를 웹 사이트의 "시작하기"섹션 에서처럼 설치하려고했습니다. 먼저 Node.js와 npm을 설치했지만 Cordova npm 패키지를 설치하려고 할 때 다음 오류가 발생합니다.Apache Cordova installation ERROR
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files (x86)\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli '-g',
1 verbose cli 'install',
1 verbose cli 'appcelerator',
1 verbose cli '--color',
1 verbose cli 'false' ]
2 info using [email protected]
3 info using [email protected]
4 verbose install initial load of C:\Users\hoerdtf\AppData\Roaming\npm\package.json
5 verbose readDependencies loading dependencies from C:\Users\hoerdtf\AppData\Roaming\npm\package.json
6 silly cache add args [ 'appcelerator', null ]
7 verbose cache add spec appcelerator
8 silly cache add parsed spec { raw: 'appcelerator',
8 silly cache add scope: null,
8 silly cache add name: 'appcelerator',
8 silly cache add rawSpec: '',
8 silly cache add spec: '*',
8 silly cache add type: 'range' }
9 silly addNamed [email protected]*
10 verbose addNamed "*" is a valid semver range for appcelerator
11 silly addNameRange { name: 'appcelerator', range: '*', hasData: false }
12 silly mapToRegistry name appcelerator
13 silly mapToRegistry using default registry
14 silly mapToRegistry registry https://registry.npmjs.org/
15 silly mapToRegistry uri https://registry.npmjs.org/appcelerator
16 verbose addNameRange registry:https://registry.npmjs.org/appcelerator not in flight; fetching
17 verbose request uri https://registry.npmjs.org/appcelerator
18 verbose request no auth needed
19 info attempt registry request try #1 at 09:26:46
20 verbose request id c48a8e708e170ca1
21 http request GET https://registry.npmjs.org/appcelerator
22 info retry will retry, error on last attempt: Error: self signed certificate in certificate chain
23 info attempt registry request try #2 at 09:26:56
24 http request GET https://registry.npmjs.org/appcelerator
25 info retry will retry, error on last attempt: Error: self signed certificate in certificate chain
26 info attempt registry request try #3 at 09:27:56
27 http request GET https://registry.npmjs.org/appcelerator
28 verbose stack Error: self signed certificate in certificate chain
28 verbose stack at Error (native)
28 verbose stack at TLSSocket.<anonymous> (_tls_wrap.js:929:36)
28 verbose stack at TLSSocket.emit (events.js:104:17)
28 verbose stack at TLSSocket._finishInit (_tls_wrap.js:460:8)
29 verbose cwd D:\
30 error Windows_NT 6.1.7601
31 error argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "-g" "install" "appcelerator" "--color" "false"
32 error node v0.12.7
33 error npm v2.11.3
34 error code SELF_SIGNED_CERT_IN_CHAIN
35 error self signed certificate in certificate chain
36 error If you need help, you may report this error at:
36 error <https://github.com/npm/npm/issues>
37 verbose exit [ 1, true ]
어쩌면 누군가가 나를 도울 수 있습니다 : 여기
는 NPM-debug.log를 파일입니다?감사합니다. NPM의 자체 서명 된 인증서는 다음 명령을 사용하여 더 이상
당신은 비활성화 할 수 있습니다 인증서가없는 때라도에 따르면
자바를 설치 했습니까? – Naitik
예 Java가 istalled되었습니다! Java 7과 8. – Genfood
자바 8 만 설치하고 java 8에 대한 envoironment 경로를 설정하고 ** java --version **로 java 버전을 확인한 다음 다시 시도하십시오. – Naitik