-----------------------------------------------------------
2019-05-09T00:56:17.237Z 安装 : node-red-contrib-home-assistant 0.3.2
2019-05-09T00:56:17.247Z npm.cmd install --no-audit --no-update-notifier --save --save-prefix="~" --production [email][email protected][/email]
2019-05-09T00:56:24.505Z [err] npm
2019-05-09T00:56:24.505Z [err]
2019-05-09T00:56:24.505Z [err] WARN deprecated
2019-05-09T00:56:24.505Z [err] [email][email protected][/email]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
2019-05-09T00:56:24.552Z [err] npm ERR! code ENOGIT
2019-05-09T00:56:24.567Z [err] npm
2019-05-09T00:56:24.567Z [err]
2019-05-09T00:56:24.567Z [err] ERR!
2019-05-09T00:56:24.567Z [err] Error while executing:
2019-05-09T00:56:24.567Z [err] npm
2019-05-09T00:56:24.567Z [err]
2019-05-09T00:56:24.567Z [err] ERR!
2019-05-09T00:56:24.567Z [err] undefined ls-remote -h -t ssh://[email protected]/node-red/node-red.git
2019-05-09T00:56:24.567Z [err] npm
2019-05-09T00:56:24.567Z [err]
2019-05-09T00:56:24.567Z [err] ERR!
2019-05-09T00:56:24.567Z [err]
2019-05-09T00:56:24.567Z [err] npm
2019-05-09T00:56:24.567Z [err]
2019-05-09T00:56:24.567Z [err] ERR!
2019-05-09T00:56:24.567Z [err] undefined
2019-05-09T00:56:24.567Z [err] npm
2019-05-09T00:56:24.567Z [err]
2019-05-09T00:56:24.567Z [err] ERR!
2019-05-09T00:56:24.567Z [err] No git binary found in $PATH
2019-05-09T00:56:24.567Z [err] npm
2019-05-09T00:56:24.567Z [err]
2019-05-09T00:56:24.567Z [err] ERR!
2019-05-09T00:56:24.567Z [err]
2019-05-09T00:56:24.567Z [err] npm
2019-05-09T00:56:24.567Z [err]
2019-05-09T00:56:24.567Z [err] ERR!
2019-05-09T00:56:24.567Z [err] Failed using git.
2019-05-09T00:56:24.567Z [err] npm
2019-05-09T00:56:24.567Z [err]
2019-05-09T00:56:24.567Z [err] ERR!
2019-05-09T00:56:24.567Z [err] Please check if you have git installed and in your PATH.
2019-05-09T00:56:25.238Z [err]
2019-05-09T00:56:25.238Z [err] npm ERR! A complete log of this run can be found in:
2019-05-09T00:56:25.238Z [err] npm
2019-05-09T00:56:25.238Z [err] ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2019-05-09T00_56_24_567Z-debug.log
2019-05-09T00:56:25.269Z rc=1
2019-05-09T00_56_24_567Z-debug.log的内容
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '--no-audit',
1 verbose cli '--no-update-notifier',
1 verbose cli '--save',
1 verbose cli '--save-prefix="~"',
1 verbose cli '--production',
1 verbose cli '[email protected]' ]
2 info using [email][email protected][/email]
3 info using [email][email protected][/email]
4 verbose npm-session 94689d95a627ddcf
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 [url]https://registry.npmjs.org/node-red-contrib-home-assistant[/url] 62ms (from cache)
8 silly pacote version manifest for [email][email protected][/email] fetched in 125ms
9 timing stage:loadCurrentTree Completed in 1654ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 31ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule [email][email protected][/email] checking installable status
17 silly fetchPackageMetaData error for node-red@github:node-red/node-red#0.18.2 Error while executing:
17 silly fetchPackageMetaData undefined ls-remote -h -t ssh://[email protected]/node-red/node-red.git
17 silly fetchPackageMetaData
17 silly fetchPackageMetaData undefined
17 silly fetchPackageMetaData No git binary found in $PATH
18 http fetch GET 200 [url]https://registry.npmjs.org/is-string[/url] 312ms (from cache)
19 http fetch GET 200 [url]https://registry.npmjs.org/clone-deep[/url] 327ms (from cache)
20 http fetch GET 200 [url]https://registry.npmjs.org/node-home-assistant[/url] 312ms (from cache)
21 http fetch GET 200 [url]https://registry.npmjs.org/lodash.merge[/url] 312ms (from cache)
22 http fetch GET 200 [url]https://registry.npmjs.org/time-ago[/url] 218ms (from cache)
23 http fetch GET 200 [url]https://registry.npmjs.org/serialize-javascript[/url] 234ms (from cache)
24 http fetch GET 200 [url]https://registry.npmjs.org/selectn[/url] 265ms (from cache)
25 http fetch GET 200 [url]https://registry.npmjs.org/lowdb[/url] 343ms (from cache)
26 silly pacote range manifest for is-string@^1.0.4 fetched in 374ms
27 silly resolveWithNewModule [email][email protected][/email] checking installable status
28 silly pacote range manifest for clone-deep@^3.0.1 fetched in 374ms
29 silly resolveWithNewModule [email][email protected][/email] checking installable status
30 silly pacote version manifest for [email][email protected][/email] fetched in 359ms
31 silly resolveWithNewModule [email][email protected][/email] checking installable status
32 silly pacote range manifest for time-ago@^0.2.1 fetched in 265ms
33 silly resolveWithNewModule [email][email protected][/email] checking installable status
34 silly pacote range manifest for serialize-javascript@^1.4.0 fetched in 281ms
35 silly resolveWithNewModule [email][email protected][/email] checking installable status
36 silly pacote range manifest for lodash.merge@^4.6.0 fetched in 359ms
37 silly resolveWithNewModule [email][email protected][/email] checking installable status
38 silly pacote range manifest for selectn@^1.1.2 fetched in 297ms
39 silly resolveWithNewModule [email][email protected][/email] checking installable status
40 silly pacote range manifest for lowdb@^1.0.0 fetched in 375ms
41 silly resolveWithNewModule [email][email protected][/email] checking installable status
42 http fetch GET 200 [url]https://registry.npmjs.org/date-fns[/url] 390ms (from cache)
43 http fetch GET 200 [url]https://registry.npmjs.org/joi[/url] 405ms (from cache)
44 silly pacote range manifest for date-fns@^1.28.5 fetched in 421ms
45 silly resolveWithNewModule [email][email protected][/email] checking installable status
46 silly pacote range manifest for joi@^13.1.1 fetched in 421ms
47 warn deprecated [email][email protected][/email]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
48 silly resolveWithNewModule [email][email protected][/email] checking installable status
49 timing stage:rollbackFailedOptional Completed in 0ms
50 timing stage:runTopLevelLifecycles Completed in 2169ms
51 silly saveTree [email][email protected][/email]
51 silly saveTree +-- [email][email protected][/email]
51 silly saveTree | `-- [email][email protected][/email]
51 silly saveTree | +-- [email][email protected][/email]
51 silly saveTree | | `-- [email][email protected][/email]
51 silly saveTree | `-- [email][email protected][/email]
51 silly saveTree `-- [email][email protected][/email]
51 silly saveTree +-- [email][email protected][/email]
51 silly saveTree +-- [email][email protected][/email]
51 silly saveTree +-- [email][email protected][/email]
51 silly saveTree +-- [email][email protected][/email]
51 silly saveTree +-- [email][email protected][/email]
51 silly saveTree +-- [email][email protected][/email]
51 silly saveTree +-- [email][email protected][/email]
51 silly saveTree +-- [email][email protected][/email]
51 silly saveTree +-- [email][email protected][/email]
51 silly saveTree `-- [email][email protected][/email]
52 verbose stack Error: No git binary found in $PATH
52 verbose stack at checkGit (C:\Program Files\nodejs\node_modules\npm\node_modules\pacote\lib\util\git.js:246:17)
52 verbose stack at spawnGit (C:\Program Files\nodejs\node_modules\npm\node_modules\pacote\lib\util\git.js:204:10)
52 verbose stack at pinflight (C:\Program Files\nodejs\node_modules\npm\node_modules\pacote\lib\util\git.js:131:12)
52 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\promise-inflight\inflight.js:29:24
52 verbose stack at Promise._execute (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\debuggability.js:303:9)
52 verbose stack at Promise._resolveFromExecutor (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:483:18)
52 verbose stack at new Promise (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:79:10)
52 verbose stack at _inflight (C:\Program Files\nodejs\node_modules\npm\node_modules\promise-inflight\inflight.js:28:25)
52 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\promise-inflight\inflight.js:22:14
52 verbose stack at tryCatcher (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\util.js:16:23)
52 verbose stack at Promise._settlePromiseFromHandler (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:512:31)
52 verbose stack at Promise._settlePromise (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:569:18)
52 verbose stack at Promise._settlePromiseCtx (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\promise.js:606:10)
52 verbose stack at Async._drainQueue (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:138:12)
52 verbose stack at Async._drainQueues (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:143:10)
52 verbose stack at Immediate.Async.drainQueues [as _onImmediate] (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebird\js\release\async.js:17:14)
53 verbose cwd C:\Users\Administrator\.node-red
54 verbose Windows_NT 6.1.7601
55 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--no-audit" "--no-update-notifier" "--save" "--save-prefix="~"" "--production" "[email protected]"
56 verbose node v10.15.3
57 verbose npm v6.4.1
58 error code ENOGIT
59 error Error while executing:
59 error undefined ls-remote -h -t ssh://[email protected]/node-red/node-red.git
59 error
59 error undefined
59 error No git binary found in $PATH
60 error Failed using git.
60 error Please check if you have git installed and in your PATH.
61 verbose exit [ 1, true ]