“ gulp trust-dev-cert”命令引发未知错误

时间:2019-05-27 11:10:43

标签: sharepointframework

Iam是Sharepoint框架的新成员,Iam当前遵循正式的Microsoft文档作为参考https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part 运行以下命令来安装开发人员证书Iam

gulp trust-dev-cert

但是执行上述命令时Iam出现以下错误

CertUtil: -addstore command FAILED: 0x80070538 (WIN32: 1336 ERROR_INVALID_ACL)
CertUtil: The access control list (ACL) structure is invalid.
Error - [trust-cert] Certificate trust failed with an unknown error.
Error - 'trust-cert' sub task errored after 3.83 s
 Error trusting development certificate.

请帮助我使共享证书框架信任开发证书

0 个答案:

没有答案