2017-12-25 2 views
0

zenbot을 설치할 수없는 것처럼 보입니다. node.js를 처음 사용하기에 친절합니다. 내가 설치 한 모든 종류의 오류가 발생합니다. 설치 지침을 따랐는데 어디서부터 시작해야할지 모르겠습니다. 저는 새로운 것을 무언가를 잘라내 고 범프와 타박상을 통해 배우려고하는 자바와 C 프로그래밍입니다.Zenbot이 설치되지 않았습니다

C:\zenbot>npm install 
npm ERR! code ENOGIT 
npm ERR! No git binary found in $PATH 
npm ERR! 
npm ERR! Failed using git. 
npm ERR! Please check if you have git installed and in your PATH. 

npm ERR! A complete log of this run can be found in: 
npm ERR!  C:\Users\\AppData\Roaming\npm-cache\_logs\2017-12-25T08_17_27_513Z-debug.log 

----- Log file-- 
0 info it worked if it ends with ok 
1 verbose cli [ 'C:\\nodejs\\node.exe', 
1 verbose cli 'C:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 
1 verbose cli 'install' ] 
2 info using [email protected] 
3 info using [email protected] 
4 verbose npm-session 5167d752483581f2 
5 silly install runPreinstallTopLevelLifecycles 
6 silly preinstall [email protected] 
7 info lifecycle [email protected]~preinstall: [email protected] 
8 silly install loadCurrentTree 
9 silly install readLocalPackageData 
10 silly install loadIdealTree 
11 silly install cloneCurrentTreeToIdealTree 
12 silly install loadShrinkwrap 
13 silly fetchPackageMetaData error for [email protected]:mkmarek/forex.analytics#7bc278987700d4204e959af17de61495941d1a14 No git binary found in $PATH 
14 verbose stack Error: No git binary found in $PATH 
14 verbose stack  at checkGit (C:\nodejs\node_modules\npm\node_modules\pacote\lib\util\git.js:199:17) 
14 verbose stack  at spawnGit (C:\nodejs\node_modules\npm\node_modules\pacote\lib\util\git.js:178:10) 
14 verbose stack  at pinflight (C:\nodejs\node_modules\npm\node_modules\pacote\lib\util\git.js:110:12) 
14 verbose stack  at C:\nodejs\node_modules\npm\node_modules\promise-inflight\inflight.js:29:24 
14 verbose stack  at Promise._execute (C:\nodejs\node_modules\npm\node_modules\bluebird\js\release\debuggability.js:300:9) 
14 verbose stack  at Promise._resolveFromExecutor (C:\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:483:18) 
14 verbose stack  at new Promise (C:\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:79:10) 
14 verbose stack  at _inflight (C:\nodejs\node_modules\npm\node_modules\promise-inflight\inflight.js:28:25) 
14 verbose stack  at C:\nodejs\node_modules\npm\node_modules\promise-inflight\inflight.js:22:14 
14 verbose stack  at tryCatcher (C:\nodejs\node_modules\npm\node_modules\bluebird\js\release\util.js:16:23) 
14 verbose stack  at Promise._settlePromiseFromHandler (C:\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:512:31) 
14 verbose stack  at Promise._settlePromise (C:\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:569:18) 
14 verbose stack  at Promise._settlePromiseCtx (C:\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:606:10) 
14 verbose stack  at Async._drainQueue (C:\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:138:12) 
14 verbose stack  at Async._drainQueues (C:\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:143:10) 
14 verbose stack  at Immediate.Async.drainQueues (C:\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:17:14) 
15 verbose cwd C:\zenbot 
16 verbose Windows_NT 10.0.15063 
17 verbose argv "C:\\nodejs\\node.exe" "C:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
18 verbose node v8.9.3 
19 verbose npm v5.5.1 
20 error code ENOGIT 
21 error No git binary found in $PATH 
22 error Failed using git. 
22 error Please check if you have git installed and in your PATH. 
23 verbose exit [ 1, true ] 
+0

C : \ WINDOWS \ system32를> 자식 -v 알 옵션 : -v 용도 : 자식 [--version] [--help] [-C ] [-c 이름 = 값] [--exec -path [= ]] [- html-path] [--man-path] [--info-path] [-p | - 페이지 | --no 페이저] [] [--bare] [--git-DIR = ] --work 트리 = [--namespace = ] [ Object를 대체 --no- ] – drhunn

답변

1

당신은 내 노력하고있다 "C : \ WINDOWS \ system32를"아마 '자식'실행 파일이 이상 사용할 수 있습니다.

변경 C에 디렉토리 : \ 다음은 오류 "자식"을받을 경우 '자식 --version'

를 시도하고 '자식'경로 환경 변수에서 ... 설정되지 않은 인식되지 않습니다. 그래서 환경 변수 설정을 열고 자식 변수 실행 파일 경로를 '경로'변수로 설정하십시오.

+0

'path'를 실행하면 시스템의 PATH 변수의 현재 내용이 표시됩니다. – tabbek

관련 문제