Macaca应用程序检查器安装错误代码EPROTO

时间:2018-09-14 09:33:26

标签: npm ios-simulator

当我尝试在我的 iMac 上安装Macaca app inspector时,出现此错误。

我尽了一切努力,但结果总是这样。

我请求您的帮助。 感谢andvance!

>iMac:~ walter$ npm install app-inspector 
> npm ERR! code EPROTO 
> npm ERR!
> errno EPROTO npm ERR! request to
> https://registry.npmjs.org/app-inspector failed, reason: write EPROTO
> 140735559447424:error:140770FC:SSL
> routines:SSL23_GET_SERVER_HELLO:unknown
> protocol:../deps/openssl/openssl/ssl/s23_clnt.c:827: npm ERR!
>
> npm ERR! A complete log of this run can be found in:    
> /Users/walter/.npm/_logs/2018-09-14T08_23_31_090Z-debug.log

在生成的日志下方

LOG

>0 info it worked if it ends with ok
>1 verbose cli [ '/usr/local/bin/node',
>1 verbose cli   '/usr/local/bin/npm',
>1 verbose cli   'install',
>1 verbose cli   'app-inspector' ]
>2 info using npm@6.4.1
>3 info using node@v8.12.0
>4 verbose config Skipping project config: /Users/walter/.npmrc. (matches userconfig)
>5 verbose npm-session 96da95e70f2ff913
>6 silly install loadCurrentTree
>7 silly install readLocalPackageData
>8 silly fetchPackageMetaData error for app-inspector@latest request to https://registry.npmjs.org/app-inspector failed, reason: write EPROTO 140735559447424:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:827:
>9 timing stage:rollbackFailedOptional Completed in 0ms
>10 timing stage:runTopLevelLifecycles Completed in 189ms
>11 verbose type system
>12 verbose stack FetchError: request to https://registry.npmjs.org/app-inspector failed, reason: write EPROTO 140735559447424:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:827:
>12 verbose stack
>12 verbose stack     at ClientRequest.req.on.err (/usr/local/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
>12 verbose stack     at emitOne (events.js:116:13)
>12 verbose stack     at ClientRequest.emit (events.js:211:7)
>12 verbose stack     at onerror (/usr/local/lib/node_modules/npm/node_modules/agent-base/index.js:100:9)
>12 verbose stack     at callbackError (/usr/local/lib/node_modules/npm/node_modules/agent-base/index.js:122:5)
>12 verbose stack     at <anonymous>
>13 verbose cwd /Users/walter
>14 verbose Darwin 17.7.0
>15 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "app-inspector"
>16 verbose node v8.12.0
>17 verbose npm  v6.4.1
>18 error code EPROTO
>19 error errno EPROTO
>20 error request to https://registry.npmjs.org/app-inspector failed, reason: write EPROTO 140735559447424:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:827:
>21 verbose exit [ 1, true ]

0 个答案:

没有答案