You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
连接数据库成功!
开始下载平台文件压缩包...
https://github.com/YMFE/yapi/archive/v1.10.2.zip
部署文件完成,正在安装依赖库...
npm
WARN
config
production Use `--omit=dev` instead.
npm
WARN
old lockfile
npm
WARN
old lockfile
The package-lock.json file was created with an old version of npm,
npm
WARN
old lockfile
so supplemental metadata must be fetched from the registry.
npm
WARN
old lockfile
npm
WARN
old lockfile
This is a one-time fix-up, please be patient...
npm
WARN
old lockfile
npm
/root/.nvm/versions/node/v20.11.1/lib/node_modules/yapi-cli/node_modules/ws/lib/WebSocket.js:358
else throw new Error('not opened');
^
Error: not opened
at WebSocket.send (/root/.nvm/versions/node/v20.11.1/lib/node_modules/yapi-cli/node_modules/ws/lib/WebSocket.js:358:18)
at Socket.<anonymous> (/root/.nvm/versions/node/v20.11.1/lib/node_modules/yapi-cli/src/commands/server.js:66:16)
at Socket.emit (node:events:530:35)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
Node.js v20.11.1
版本号
v1.12.0
什么问题
$ yapi-cli server 不成功
如何复现此问题
在
YApi 平台部署
页面选中部署版本
1.12.0, 然后点击开始部署
。在后台将会看到以上的报错
什么浏览器
chrome
什么系统(Linux, Windows, macOS)
Ubuntu 20.04
The text was updated successfully, but these errors were encountered: