Dar*_*nik 5 underscore.js angularjs typescript-typings
我试图安装Underscore打字但收到错误
无法在注册表中找到"下划线"("npm").您想尝试搜索其他来源吗?另外,如果您想提供这些类型,请帮助我们:https://github.com/typings/registry
我已根据我的研究和其他人提供的解决方案尝试了不同的开关,如图所示.
Dar*_*nik 14
核心问题是我的Mac上的权限问题.您的用户帐户需要拥有您的npm安装目录.
然后你可以运行命令:
typings install dt~underscore --global --save
Run Code Online (Sandbox Code Playgroud)
你不应该再看到任何错误.
| 归档时间: |
|
| 查看次数: |
1894 次 |
| 最近记录: |