我正在尝试使用包管理器在 Visual Studio 2013 中安装 npm 包。当我右键单击并选择 install new/missing packages 并搜索 package(eg:ejs) 我得到No Result found 消息。我检查了我附在下面的 npm install 输出。
Registry url: https://registry.npmjs.org/Path to npm: C:\Program Files\nodejs\npm.cmd
Downloading package cache to C:\Users\Vignesh\AppData\Local\Microsoft\Node.js Tools\NpmCache\9b301ae0-f271-411c-853b-46a44ae13b54\all_packages.json
Downloading list of packages from https://registry.npmjs.org/-/all
Download complete - updating database
Reading 24 bytes from C:\Users\Vignesh\AppData\Local\Microsoft\Node.js Tools\NpmCache\9b301ae0-f271-411c-853b-46a44ae13b54\all_packages.json (9/7/2017 11:22:27 PM)
Database is corrupt - deleting C:\Users\Vignesh\AppData\Local\Microsoft\Node.js Tools\NpmCache\packagecache.sqlite. Try refreshing the catalog again. Otherwise restart Visual Studio, and try again.
Deleting 9b301ae0-f271-411c-853b-46a44ae13b54
Current Time: 9/7/2017 11:22:27 PM
Last Refreshed: 9/7/2017 11:14:55 PM
Number of Results: 0
有人可以帮我解决这个问题吗?提前致谢。