<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>


<h2 dir="auto">Current Behavior</h2>


<h2 dir="auto">Steps to Reproduce (for bugs)</h2>


<ol dir="auto">
<li>npm install --save next react react-dom</li>
<li>Populate ./pages/index.js inside your project:<br>
export default () =&gt; <div dir="auto">Welcome to next.js!</div></li>
<li>npm run dev</li>
<li>internal/child_process.js:325<br>
throw errnoException(err, 'spawn');<br>
^</li>
</ol>
<p dir="auto">Error: spawn EACCES<br>
at _errnoException (util.js:1022:11)<br>
at ChildProcess.spawn (internal/child_process.js:325:11)<br>
at Object.exports.spawn (child_process.js:493:9)<br>
at spawn (/Users/mac/Documents/lantts/node_modules/cross-spawn/index.js:17:18)<br>
at startProcess (/Users/mac/Documents/lantts/node_modules/next/dist/bin/next:72:36)<br>
at Object. (/Users/mac/Documents/lantts/node_modules/next/dist/bin/next:93:12)<br>
at Module._compile (module.js:573:30)<br>
at Object.Module._extensions..js (module.js:584:10)<br>
at Module.load (module.js:507:32)<br>
at tryModuleLoad (module.js:470:12)</p>
<h2 dir="auto">Context</h2>


<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>4.1.4</td>
</tr>
<tr>
<td>node</td>
<td>v8.3.0</td>
</tr>
<tr>
<td>OS</td>
<td>macOS High Sierra v10.13.1</td>
</tr>
<tr>
<td>browser</td>
<td>chrome</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table>
<p dir="auto">This example works fine when using the stable version v5.1 but causes an error when upgrading to the latest canary.  It looks like it might be related to the new Babel v7 beta or the <code class="notranslate">babel-plugin-bucklescript</code> that is used but I couldn't isolate/reproduce the problem in the other repo.</p>



<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>


<p dir="auto">The <code class="notranslate">with-reasonml</code> example should work in v6 canary as it did under v5.x</p>
<h2 dir="auto">Current Behavior</h2>


<h2 dir="auto">Steps to Reproduce (for bugs)</h2>


<ol dir="auto">
<li><code class="notranslate">yarn create next-app --example with-reasonml with-reasonml-app</code></li>
<li><code class="notranslate">cd with-reasonml-app</code></li>
<li><code class="notranslate">yarn &amp;&amp; yarn dev</code></li>
<li>Navigate to <code class="notranslate">localhost:3000</code>  It works!</li>
<li>Bump version of next in <code class="notranslate">package.json</code> to <code class="notranslate">6.0.0-canary.6</code> then run <code class="notranslate">yarn</code> and <code class="notranslate">yarn dev</code> again</li>
<li>Navigate to <code class="notranslate">localhost:3000</code> and get the following error:</li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1711033/39153704-e0bffa24-4719-11e8-9a56-3191487c6326.png"><img width="1009" alt="screen shot 2018-04-23 at 5 14 01 pm" src="https://user-images.githubusercontent.com/1711033/39153704-e0bffa24-4719-11e8-9a56-3191487c6326.png" style="max-width: 100%;"></a></p>
<h2 dir="auto">Context</h2>


<p dir="auto">Was wanting to test the new <code class="notranslate">_app.js</code> functionality to see if it makes using <code class="notranslate">getInitialProps</code> to load Apollo queries easier to use for pages implemented in ReasonML.  Currently it's difficult/impossible to bind to the static <code class="notranslate">getInitialProps</code> from Reason pages.</p>
<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>6.0.0-canary.6</td>
</tr>
<tr>
<td>node</td>
<td>9.4.0</td>
</tr>
<tr>
<td>OS</td>
<td>MacOS 10.13.4</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome v65</td>
</tr>
</tbody>
</table>