Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Commented Issue: NPM New UI - Install button disabled [686]

$
0
0
If I just type the name of the package, ie. `'azure'` without the quotes, then the install button stays disabled. If I add a space after azure ie. `'azure '` then it becomes enabled and I can successfully install the package.

Note that my catalog is empty, I don't know if it works better when it's not empty.

![Image](https://www.codeplex.com/Download/AttachmentDownload.ashx?ProjectName=nodejstools&WorkItemId=686&FileAttachmentId=807159)
Comments: Ah, yes: I should put in a check to require the selection only when the catalog is non-empty. (The reason it works with the space is it assumes you want to execute a "raw" install command with extra arguments - package names can't contain spaces hence I just check for the first instance of a space to switch to this mode.)

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>