无法在Angular2中安装输入法

时间:2016-10-31 08:47:09

标签: angular typescript-typings

我在安装我的打字时遇到错误。

命令提示符(在我的项目中)>输入typings install。但结果是:

This program is blocked by group policy. For more information, contact your system administrator.

enter image description here

有没有人遇到这个问题?以及如何解决这个问题?

谢谢!

1 个答案:

答案 0 :(得分:1)

我在卸载CryptoPrevent后解决了这个问题。

由于npm目录包含.cmd(对于typescripts),因此CryptoPrevent会将其检测为恶意软件/勒索软件。

如果您有其他第三方软件用于勒索软件,您可以将npms添加到白名单以避免出现问题。