版本号
~1.9.2
什么问题
~
Error: (node:9316) Warning: Accessing non-existent property 'count' of module exports inside circular dependency (Use node --trace-warnings ...
to show where the warning was created)
如何复现此问题
~
可视化部署
什么浏览器
~
谷歌
什么系统(Linux, Windows, macOS)
windows
4条答案
按热度按时间vxbzzdmp1#
windows部署报这个错误
mcdcgff02#
Node.js 版本是多少?如果是 Node.js 15.x,可尝试使用 Node.js 14.x 部署。
8gsdolmq3#
依赖库安装完成,正在初始化数据库mongodb...
yapi-vendor@1.9.2 install-server /root/my-yapi/vendors
node server/install.js
Error: (node:18087) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
(Use
node --trace-warnings ...
to show where the warning was created)分割>>>>>>
我这边也卡在这里
[root@localhost ~]# node -v
v14.16.1
[root@localhost ~]# npm -v
6.14.12
centos7
@zhanglianxin
gcmastyq4#
我已解决
node 版本降至 12.x 即可。
@zhanglianxin@liuxusuifeng