use*_*372 5 meteor meteor-blaze meteor-accounts visual-studio-code angular-meteor
While downloading accounts-base@1.2.11...:
error: certificate has expired
While downloading accounts-password@1.3.0...:
error: certificate has expired
While downloading alanning:roles@1.2.15...:
error: certificate has expired
While downloading aldeed:collection2@2.10.0...:
error: certificate has expired
While downloading aldeed:collection2-core@1.2.0...:
error: certificate has expired
While downloading aldeed:schema-deny@1.1.0...:
Run Code Online (Sandbox Code Playgroud)
甚至尝试设置 NODE_TLS_REJECT_UNAUTHORIZED=0 然后运行meteor。但仍然出现错误。
Chr*_*itz 11
https://docs.meteor.com/expired-certificate.html:
如果您在运行 Meteor 命令时遇到连接错误(证书已过期)之类的错误,则意味着您正在运行早于 v1.9 的 Meteor 版本。
目前的一个解决方法是使用以下环境变量 NODE_TLS_REJECT_UNAUTHORIZED 运行所有 Meteor 命令,例如...
我怀疑你没有正确设置环境变量。要么export在命令行上正确设置:
NODE_TLS_REJECT_UNAUTHORIZED=0 meteor
Run Code Online (Sandbox Code Playgroud)
小智 5
我遇到了同样的错误
export NODE_TLS_REJECT_UNAUTHORIZED=0
Run Code Online (Sandbox Code Playgroud)
尝试过这个并且有效
| 归档时间: |
|
| 查看次数: |
2906 次 |
| 最近记录: |