We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
错误信息如下: npm
ERR! code CERT_HAS_EXPIRED npm ERR! errno CERT_HAS_EXPIRED npm ERR! request to https://registry.npm.taobao.org/copy-to-clipboard failed, reason: certificate has expired
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2025-02-10T14_03_51_132Z-debug.log
依赖库安装完成,正在初始化数据库mongodb...
yapi-vendor@1.9.2 install-server D:\Soft\YApi\vendors > node server/install.js
Error: internal/modules/cjs/loader.js:797 throw err; ^ Error: Cannot find module '
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
用这个 https://github.com/gozeon/yapii
进入node安装的根目录,将根目录授权一下,这个错误的原因在于 nodejs 的 运行权限和运行 yapi -server 的权限不一致。 解决: chown -R root:root /nodejs安装目录(环境变量配置的目录) 或 chmod 777 /nodejs
No branches or pull requests
错误信息如下:
npm
ERR! code CERT_HAS_EXPIRED npm ERR! errno CERT_HAS_EXPIRED npm ERR! request to https://registry.npm.taobao.org/copy-to-clipboard failed, reason: certificate has expired
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2025-02-10T14_03_51_132Z-debug.log
依赖库安装完成,正在初始化数据库mongodb...
Error: internal/modules/cjs/loader.js:797 throw err; ^ Error: Cannot find module '
The text was updated successfully, but these errors were encountered: