title: Phonegap error: Cannot find module
body: <p>I'm trying to create a HelloWorld project but are experiencing an error</p>
  
  <pre><code>phonegap create C:\Desenv\PhoneGap\learn com.cassia.hello HelloWorld
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>C:\Users\cassiasantos&gt;phonegap create teste com.cassia.hello HelloWord
  module.js:338
      throw err;
            ^
  Error: Cannot find module '..\..\node_modules\cordova\node_modules\cordova-lib'
      at Function.Module._resolveFilename (module.js:336:15)
      at Function.Module._load (module.js:278:25)
      at Module.require (module.js:365:17)
      at require (module.js:384:17)
      at Object.&lt;anonymous&gt; (C:\Users\cassiasantos\AppData\Roaming\npm\node_module
  s\phonegap\lib\cordova\index.js:16:26)
      at Module._compile (module.js:460:26)
      at Object.Module._extensions..js (module.js:478:10)
      at Module.load (module.js:355:32)
      at Function.Module._load (module.js:310:12)
      at Module.require (module.js:365:17)
  </code></pre>