microsoft / microsoft/nodejstools
install new npm packages always corrupts database, can't find any packages
Open
@PranavSenthilnathan is already working on this.
Since Apr 5, 2019.
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 355
- PR merge metrics
- No merged PRs in 30d
Description
Expected Behavior
GUI for "Install New NPM Packages" shows results when searching for packages, such as react
Actual Behavior
no results are found, ever. in the "npm install output" window:
Registry url: https://registry.npmjs.org/
Database is corrupt - deleting C:\Users\adam\AppData\Local\Microsoft\Node.js Tools\NpmCache\packagecache.sqlite. Try refreshing the catalog again. Otherwise restart Visual Studio, and try again.
Deleting 267f21ef-baf3-4b5d-a516-31d02f27ed32
Current Time: 11/3/2018 8:27:31 PM
Last Refreshed: 11/3/2018 8:25:01 PM
Number of Results: 0
- NTVS Version: 1.3.50201.08 (is this Node.js tools?)
- Visual Studio Version: 15.0.0+26228.9
- Node.js Version: 10.13.0 (the runtime, which must be downloaded separately, right?)
Steps to Reproduce
- freshly install visual studio
- create a blank node.js web application project
- right click npm
- click install new packages
- search for anything. (I did react)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.