How to disable NPM package restore in Visual Studio 2015?

When you open a project in Microsoft Visual Studio 2015 Update 1 that contains the package.json , you will notice that the npm install process is started by default.

There are times when you want to run npm install manually from the command line.

How to disable NPM package restore in Visual Studio 2015?

Follow the below steps to disable NPM package restore in Microsoft Visual Studio 2015 Update 1.

1. Navigate to Tools -> Options in Visual Studio 2015.

2. Select Projects -> Solutions / External Web Tools and then uncheck all the four paths.

image

3. Click OK.

%d