title: babel + path + node 6.x: TypeError: Path must be a string. Received undefined
body: <p>I've been trying to update my nodejs version to 6.x but the following errors always appear everytime:</p>
  
  <pre><code>path.js:7
      throw new TypeError('Path must be a string. Received ' + inspect(path));
      ^
  
  TypeError: Path must be a string. Received undefined
      at assertPath (path.js:7:11)
      at Object.dirname (path.js:1326:5)
      at /usr/lib/node_modules/babel-core/lib/transformation/file/options/option-manager.js:374:36
      at /usr/lib/node_modules/babel-core/lib/transformation/file/options/option-manager.js:396:22
      at Array.map (native)
      at OptionManager.resolvePresets (/usr/lib/node_modules/babel-core/lib/transformation/file/options/option-manager.js:385:20)
      at OptionManager.mergePresets (/usr/lib/node_modules/babel-core/lib/transformation/file/options/option-manager.js:369:10)
      at OptionManager.mergeOptions (/usr/lib/node_modules/babel-core/lib/transformation/file/options/option-manager.js:328:14)
      at /usr/lib/node_modules/babel-core/lib/transformation/file/options/option-manager.js:370:14
      at /usr/lib/node_modules/babel-core/lib/transformation/file/options/option-manager.js:390:24
  </code></pre>
  
  <p>I tried with those three version:</p>
  
  <ul>
  <li>nodejs-6.0.0-1</li>
  <li>nodejs-6.2.0-1</li>
  <li>nodejs-6.2.1-1</li>
  </ul>
  
  <p>in <code>package.json</code>:
  <code>"babel-core": "^6.9.1"</code></p>
  
  <p>I quite lost about where to start looking to debug. Anybody has a suggestion ? :) More info would be relevent ? Let me know !</p>
  
  <p>Thanks in advance !</p>