yapi icon indicating copy to clipboard operation
yapi copied to clipboard

安装报错

Open agoni03 opened this issue 7 years ago • 3 comments

yapi-cli server执行 出现以下提示

在浏览器打开 http://0.0.0.0:9090 访问。非本地服务器,请将 0.0.0.0 替换成指定的域名或ip (node:2780) UnhandledPromiseRejectionWarning: Error: read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:201:27) (node:2780) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:2780) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:2780) UnhandledPromiseRejectionWarning: Error: read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:201:27) (node:2780) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4) (node:2780) UnhandledPromiseRejectionWarning: Error: read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:201:27) (node:2780) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6)

agoni03 avatar Sep 30 '19 07:09 agoni03

我也遇到了

neilss avatar Sep 30 '19 09:09 neilss

因为 easy-mock 平台挂了导致的, 依赖了 easy-mock 接口

hellosean1025 avatar Oct 03 '19 02:10 hellosean1025

@agoni03 @neilss fixed, 请升级 yapi-cli 到最新版本 1.5.0

hellosean1025 avatar Oct 03 '19 07:10 hellosean1025