title: What version of package was installed by npm
body: <p><strong>Summary</strong></p>
  
  <p>I have questions about the basics of package.json vesions and npm (version 5.5.0). It boils down to these:</p>
  
  <ol>
  <li>If my package.json includes dependency <code>"@angular/core": "^5.0.0"</code>,
  should <code>npm update</code> find and install <code>@angular/core@5.0.2</code>? </li>
  <li>How do I determine which version of <code>@angular/core</code> is actually installed in
  my application?</li>
  </ol>
  
  <p><strong>Details</strong></p>
  
  <p>This issue started when I tried to install @angular/cdk, which is required by another package I want to install. When I run</p>
  
  <pre><code>npm i --save @angular/cdk
  </code></pre>
  
  <p>the output includes the following:</p>
  
  <pre><code>+-- @angular/cdk@5.0.0-rc0
  +-- UNMET PEER DEPENDENCY @angular/common@5.0.2
  +-- UNMET PEER DEPENDENCY @angular/compiler@5.0.2
  +-- UNMET PEER DEPENDENCY @angular/core@5.0.2
  +-- UNMET PEER DEPENDENCY @angular/forms@5.0.2
  +-- UNMET PEER DEPENDENCY @angular/platform-browser@5.0.2
  `-- UNMET PEER DEPENDENCY typescript@2.5.3
  </code></pre>
  
  <p>But when I look at my package.json, I see the following items included in my dependencies:</p>
  
  <pre><code>"@angular/common": "^5.0.0",
  "@angular/compiler": "^5.0.0",
  "@angular/core": "^5.0.0",
  "@angular/forms": "^5.0.0",
  "@angular/platform-browser": "^5.0.0",
  </code></pre>
  
  <p>and my devDependencies includes:</p>
  
  <pre><code>"typescript": "~2.5.0",
  </code></pre>
  
  <p>After searching the Net for info about npm and package.json versioning, I figured I need to run <code>npm upgrade</code> to get the latest version of all my packages. But I still get the UNMET DEPENDENCIES. Thus, my questions.</p>
  
  <p>Thanks in Advance for any help.</p>