The npm install command in Node.js encounters an error C2373 when used in conjunction with Visual Studio 2015 Update 3. Rewrite this sentence and simply return it rewritten without any additional text.
62👍 ✅ This error is related to npm, node-gyp, and Visual Studio 2015, and it has already been fixed in node-gyp@3.4.0. However, npm is still using an older version. Here is a workaround that you can follow: Go to the folder where npm is installed, for example: C:\Program Files\nodejs\node_modules\npm Open the file package.json Remove the … Read more