madskristensen / PackageInstaller

A Visual Studio extension
Other
67 stars 15 forks source link

npm Arguments are not used #30

Closed RobertDougan closed 6 years ago

RobertDougan commented 6 years ago

Installed product versions

Description

I want to use a private registry to manage and restore packages. I can set npm arguments in Tools -> Options -> Web -> Package Installer, but these arguments are ignored when I restore packages by right clicking the npm node in solution explorer.

Steps to recreate

  1. Open Tools -> Options -> Web -> Package Installer
  2. Enter a valid npm argument e.g. --registry http://localhost:4873
  3. Restore npm packages in the solution by right clicking the npm node in solution explorer and choosing "Restore Packages".

Current behavior

In the output window for Bower/npm I can see that "Install" is called without the user specified argument.

Expected behavior

npm Install should run with the user supplied argument e.g. npm install --registry http://localhost:4873.

RobertDougan commented 6 years ago

Raised in error.