YMFE / yapi

YApi 是一个可本地部署的、打通前后端及QA的、可视化的接口管理平台
http://yapi.smart-xwork.cn/
Apache License 2.0
27.39k stars 4.8k forks source link

yapi server 内网安装出现问题 #1997

Open vinwang opened 3 years ago

vinwang commented 3 years ago

版本号

node v15.1.0 mongo v.4.4.1 npm v6.14.8 git 1.8.3.1

什么问题

在浏览器打开 http://0.0.0.0:9090 访问。非本地服务器,请将 0.0.0.0 替换成指定的域名或ip (node:16565) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created) (node:16565) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'find' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'head' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'set' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'test' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'to' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency (node:16565) Warning: Accessing non-existent property 'which' of module exports inside circular dependency node:internal/process/promises:218 triggerUncaughtException(err, true / fromPromise /); ^

<ref *1> Error: getaddrinfo ENOTFOUND yapi.demo.qunar.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:67:26) { errno: -3008,

如何复现此问题

~

什么浏览器

~

什么系统(Linux, Windows, macOS)

Centos7

ghostsf commented 3 years ago

node 版本高了