title: Activating extension `ms-vscode.wordcount` failed: Cannot find module 'd:/VSCode/vscode-wordcount/out/extension'
body: <p>I try to build and debug an extension in Code. </p>
  
  <p>I downloaded the sample of word-count from <a href="https://github.com/microsoft/vscode-wordcount" rel="nofollow">https://github.com/microsoft/vscode-wordcount</a>.</p>
  
  <p>When I clicked F5, ./out folder was not generated and I saw failure: Activating extension <code>ms-vscode.wordcount</code> failed: Cannot find module 'd:/VSCode/vscode-wordcount/out/extension'.</p>
  
  <p>I found the post 
  <a href="https://github.com/Microsoft/vscode-go/issues/35" rel="nofollow">https://github.com/Microsoft/vscode-go/issues/35</a> 
  and I think this was because I failed to build the extension.</p>
  
  <p>And I checked my path that node and npm were both set.</p>
  
  <p>I found there were 2 possible issues.</p>
  
  <ol>
  <li>I could not find .\node_modules folder in my extension folder. The folder structure is like</li>
  </ol>
  
  <p>.vscode\</p>
  
  <p>-- launch.json</p>
  
  <p>-- settings.json</p>
  
  <p>-- tasks.json</p>
  
  <p>image\</p>
  
  <p>test\</p>
  
  <p>typings\</p>
  
  <p>-- vscode-typings.d.ts</p>
  
  <p>extension.ts</p>
  
  <p>package.json</p>
  
  <p>tsconfig.json</p>
  
  <ol start="2">
  <li>My node version is v0.12.2.</li>
  </ol>
  
  <p>Could you give me some hints how to investigate the issue?</p>