在我的项目中安装角度材料时出现此错误
PS C:\Users\Avinash Kumar\Desktop\Projects\CRUD\Project 2\Library Management System\UI\UI\Frontend> ng add @angular/material
ℹ Using package manager: npm
✖ Unable to load package information from registry: The "timeout" argument must be of type number. Received type string ('100000')
我的 Angular、node 和 npm 版本
- 角度 CLI:15.2.6
- 节点:18.16.0
- 包管理器:npm 9.5.1
- 操作系统:win32 x64
错误结果
npm config set timeout
这将设置超时 0,它对我有用。这次运行后
npm config list
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)