<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">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Using the <a href="https://github.com/sindresorhus/npm-name"><code class="notranslate">npm-name</code> module</a> outputs <code class="notranslate">true</code> or <code class="notranslate">false</code> in a next project.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Attempts to use <code class="notranslate">npm-name</code> result in the error:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="This dependency was not found:  
* electron in ./node_modules/npm-name/node_modules/got/index.js  
To install it, you can run: npm install --save electron"><pre class="notranslate">This dependency was not found:  
<span class="pl-k">*</span> electron <span class="pl-k">in</span> ./node_modules/npm-name/node_modules/got/index.js  
To install it, you can run: npm install --save electron</pre></div>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">In a Next.JS project:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import npmName from 'npm-name'
npmName('npm-name') // throws the error"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">npmName</span> <span class="pl-k">from</span> <span class="pl-s">'npm-name'</span>
<span class="pl-en">npmName</span><span class="pl-kos">(</span><span class="pl-s">'npm-name'</span><span class="pl-kos">)</span> <span class="pl-c">// throws the error</span></pre></div>
<h2 dir="auto">Context</h2>
<p dir="auto">Trying to use the <code class="notranslate">npm-name</code> module results in Next throwing an error because electron is not installed. I don't want to introduce electron to the project obviously, and looking through the <a href="https://github.com/sindresorhus/got/blob/master/index.js#L90">source of <code class="notranslate">got</code></a>, I'm not sure why it's being required.</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>4.2.3</td>
</tr>
<tr>
<td>node</td>
<td>9.2.0</td>
</tr>
<tr>
<td>OS</td>
<td>macOS 10.12.6</td>
</tr>
<tr>
<td>browser</td>
<td>chrome63</td>
</tr>
</tbody>
</table>
<p dir="auto">Corresponding ticket with <code class="notranslate">npm-name</code>: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="294163753" data-permission-text="Title is private" data-url="https://github.com/sindresorhus/npm-name/issues/16" data-hovercard-type="issue" data-hovercard-url="/sindresorhus/npm-name/issues/16/hovercard" href="https://github.com/sindresorhus/npm-name/issues/16">sindresorhus/npm-name#16</a><br>
I believe this is a NextJS issue.</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">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Following the README.md instructions to run a next.js project, but create the project's folder in a subfolder which starts with a "."</p>
<p dir="auto">Changing the text in index.js should initiate a recompile which is reflected in the browser.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Next never recompiles after change are made to index.js. Must <code class="notranslate">ctrl+c</code> to quit, then run <code class="notranslate">npm run dev</code> again.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">Please review video here: <a href="https://www.youtube.com/watch?v=HfOiCxw6bKw&amp;feature=youtu.be" rel="nofollow">https://www.youtube.com/watch?v=HfOiCxw6bKw&amp;feature=youtu.be</a><br>
note that the project is running out a folder ".nosync" (because of this: <a href="https://discussions.apple.com/thread/6811420?start=0&amp;tstart=0" rel="nofollow">https://discussions.apple.com/thread/6811420?start=0&amp;tstart=0</a>)</p>
<h2 dir="auto">Context</h2>
<p dir="auto">Simply trying out next. basic HMR is not working correctly.</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>^4.1.3</td>
</tr>
<tr>
<td>node</td>
<td>8.7.0</td>
</tr>
<tr>
<td>OS</td>
<td>OSX 10.13</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 61</td>
</tr>
<tr>
<td>etc</td>
<td>npm 5.4.2</td>
</tr>
</tbody>
</table>