<p dir="auto">If I install <code class="notranslate">babel-plugin-transform-runtime</code> into a new project, NPM will install <code class="notranslate">babel-runtime</code> 5.x. This makes sense, as basically everything else uses a 5.x <code class="notranslate">babel-runtime</code> too.</p>
<p dir="auto">The problem is that it requires methods based on the 6.1.4 filenames, rendering it basically useless.</p>
<p dir="auto">This produces errors like this when I try to run Webpack on the resultant files:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Module not found: Error: Cannot resolve module 'babel-runtime/helpers/defineProperty'
Module not found: Error: Cannot resolve module 'babel-runtime/helpers/slicedToArray'
Module not found: Error: Cannot resolve module 'babel-runtime/helpers/objectWithoutProperties'"><pre class="notranslate"><code class="notranslate">Module not found: Error: Cannot resolve module 'babel-runtime/helpers/defineProperty'
Module not found: Error: Cannot resolve module 'babel-runtime/helpers/slicedToArray'
Module not found: Error: Cannot resolve module 'babel-runtime/helpers/objectWithoutProperties'
</code></pre></div>
<p dir="auto">These errors only occur when running <code class="notranslate">babel-plugin-transform-runtime</code>. I've tried it on 6.1.4, 6.1.2 and 6.0.2. I've also tried downgrading the versions of various other packages to 6.1.2 and 6.0.2. I've also removed <code class="notranslate">node_modules</code> and done a complete <code class="notranslate">npm install</code> on each of these steps.</p>
<p dir="auto">I'm using the latest everything:<br>
NodeJS 5.0.0<br>
NPM 3.3.12<br>
babel-runtime 6.1.4<br>
babel-register 6.1.4</p>
<p dir="auto">when running anything with <code class="notranslate">babel-node</code> I get the following errors:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error: Cannot find module 'babel-runtime/helpers/interop-require-default'
    at Object.&lt;anonymous&gt; (babel-register/lib/node.js:5:30)

Error: Cannot find module 'babel-runtime/helpers/interop-require-wildcard'
    at Object.&lt;anonymous&gt; (babel-register/lib/node.js:7:31)"><pre class="notranslate"><code class="notranslate">Error: Cannot find module 'babel-runtime/helpers/interop-require-default'
    at Object.&lt;anonymous&gt; (babel-register/lib/node.js:5:30)

Error: Cannot find module 'babel-runtime/helpers/interop-require-wildcard'
    at Object.&lt;anonymous&gt; (babel-register/lib/node.js:7:31)
</code></pre></div>
<p dir="auto">The reason this happens is that the files are actually named <code class="notranslate">interopRequireDefault.js</code> and <code class="notranslate">interopRequireWildcard.js</code> respectively.<br>
If I rename them to <code class="notranslate">interop-require-default.js</code> and <code class="notranslate">interop-require-wildcard.js</code> the errors go away.</p>
<p dir="auto">Other than that everything seems to work just fine.</p>