我使用Chocolatey安装了Meteor 1.6.1。
然后我第一次尝试创建一个新的Meteor项目,我得到了以下错误
PS E:\> meteor create react_project
=> Errors while creating your project
While downloading blaze@2.3.2...:
error: unable to verify the first certificate
While downloading blaze-html-templates@1.1.2...:
error: unable to verify the first certificate
While downloading blaze-tools@1.0.10...:
error: unable to verify the first certificate
While downloading caching-html-compiler@1.1.2...:
error: unable to verify the first certificate
While downloading html-tools@1.0.11...:
error: unable to verify the first certificate
While downloading htmljs@1.0.11...:
error: unable to verify the first certificate
While downloading spacebars@1.0.15...:
error: unable to verify the first certificate
While downloading spacebars-compiler@1.1.3...:
error: unable to verify the first certificate
While downloading templating@1.3.2...:
error: unable to verify the first certificate
While downloading templating-compiler@1.3.3...:
error: unable to verify the first certificate
While downloading templating-runtime@1.3.2...:
error: unable to verify the first certificate
While downloading templating-tools@1.1.2...:
error: unable to verify the first certificate
While downloading ui@1.0.13...:
error: unable to verify the first certificate
PS E:\> meteor --version
Meteor 1.6.1
我还浏览了https://github.com/meteor/meteor/issues/7499
也试过设置
set http_proxy=http://corporate.proxy.server.intranet:8080/
set https_proxy=http://corporate.proxy.server.intranet:8080/
然后还尝试在创建项目之前使用命令设置注册表,
npm config set registry http://registry.npmjs.org/ --global
还尝试了以下命令,
npm config set strict-ssl false
仍未解决我的问题
有什么建议吗?