Mysteriously Visual Studio web project now has TWO applications / ports

I had been working onĀ  my solution for a year when suddenly the projects stopped working at the usual HTTPS port. I assumed this had something to do with Stacker, which I uninstalled. No matter what, the HTTPS port would not start to work and the solution had two ports when running locally on IIS Express.

Continue reading

Advertisements

Visual Studio 2017 npm error – CategoryInfo not specified

While trying to install and test the npm package node-adwords, I stumbled upon an error stating an error with CategoryInfo not being specified.

The errors given by npm included e.g. gyp error, and reading about it from random internet sources, the problem seemed to point to compiler settings. I updated node to the latest version, which did not resolve the issue.

The next attempt was to modify my Visual Studio 2017 Professional installation, and specifically the Node.js options:

nodejs-reintall-vs2017

I did not have the VC++ 2017 v141 toolset installed, so I ticked it along with Visual Studio C++ core features (I don’t think it is necessary) and started the installation.

Continue reading