From microsoft/vscode#37217
Problem
The install quick fix currently does a normal npm install. For cases where the version of npm used to manage a project is different than the version of npm found in the environment—npm 4 and npm 5 for example—this quick fix can also unexpectedly update the npm-shrinkwrap.json.
Possible solution would be to run the @types install with --no-shrinkwrap
Moving this issue over in case any one else want to weigh in here. We run into this in the VS Code codebase itself because we don't yet support npm 5
From microsoft/vscode#37217
Problem
The install quick fix currently does a normal npm install. For cases where the version of npm used to manage a project is different than the version of npm found in the environment—npm 4 and npm 5 for example—this quick fix can also unexpectedly update the
npm-shrinkwrap.json.Possible solution would be to run the
@typesinstall with--no-shrinkwrapMoving this issue over in case any one else want to weigh in here. We run into this in the VS Code codebase itself because we don't yet support npm 5