title: Cannot find module jest.js
body: <p>I have just installed jest (<code>npm install jest --save-dev</code>) and not changed any default settings, but can't run my tests.</p>
  <p><code>C:\Foo\Boo</code> - my app folder, where <code>app.js</code> and <code>app.test.js</code> files are placed.</p>
  <p>The standard command <code>npm run test</code> results in such error:</p>
  <pre><code>&gt; vision@1.0.0 test C:\Foo\Boo
  &gt; jest
  
  'Boo\node_modules\.bin\' is not recognized as an internal or external command,
  operable program or batch file.
  internal/modules/cjs/loader.js:883
    throw err;
    ^
  
  Error: Cannot find module 'C:\Foo\jest\bin\jest.js'
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
      at Function.Module._load (internal/modules/cjs/loader.js:725:27)
      at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
      at internal/main/run_main_module.js:17:47 {
    code: 'MODULE_NOT_FOUND',
    requireStack: []
  }
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! vision@1.0.0 test: `jest`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the vision@1.0.0 test script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  </code></pre>
  <p>A bizarre thing is <code>Cannot find module 'C:\Foo\jest\bin\jest.js'</code>. It seemingly trys to find <code>C:\Foo\Boo\node_modules\jest\bin\jest.js</code>.</p>
  <p>How can I fix it?</p>