<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>
<p dir="auto">The current <code class="notranslate">withTypescript</code> example works well for client-side only NextJS implementations. However, given that Next5 now loads Typescript, it isn't clear exactly what combination of <code class="notranslate">tsconfig.json/next.config.(t|j)s/tsc/babel/ts-node/babel-node</code>  needs to be set for an implementation with a server.ts file to work with correct source maps etc.</p>
<p dir="auto">A simple example that renders a hello world page for both 'yarn dev' demo'ing hot reloading, and 'yarn build &amp;&amp; yarn start' would be great.</p>
<p dir="auto">Hello everyone!<br>
<strong>Help required.</strong></p>
<p dir="auto">I am now on <a href="https://nextjs.org/learn/basics/fetching-data-for-pages/fetching-batman-shows" rel="nofollow">NextJS learning guid</a>. Lesson №6 - fetching data. Step №3.<br>
When i do all steps in lesson, where we first time trying to fetch data from external public api in getInitialProps(<a href="https://api.tvmaze.com/search/shows?q=batman" rel="nofollow">https://api.tvmaze.com/search/shows?q=batman</a>) and type in terminal "npm start dev", dev server is started on localhost:3000, but i get an error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="request to https://api.tvmaze.com/search/shows?q=batman failed, reason: connect ECONNREFUSED 88.99.29.81:443

FetchError: request to https://api.tvmaze.com/search/shows?q=batman failed, reason: connect ECONNREFUSED 88.99.29.81:443
    at ClientRequest.&lt;anonymous&gt; (C:\Sandbox\React training\test3NextJsLearning\next-learn-demo-master\6-fetching-data\node_modules\node-fetch\lib\index.js:1455:11)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at TLSSocket.socketErrorListener (_http_client.js:387:9)
    at emitOne (events.js:116:13)
    at TLSSocket.emit (events.js:211:7)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)"><pre class="notranslate"><code class="notranslate">request to https://api.tvmaze.com/search/shows?q=batman failed, reason: connect ECONNREFUSED 88.99.29.81:443

FetchError: request to https://api.tvmaze.com/search/shows?q=batman failed, reason: connect ECONNREFUSED 88.99.29.81:443
    at ClientRequest.&lt;anonymous&gt; (C:\Sandbox\React training\test3NextJsLearning\next-learn-demo-master\6-fetching-data\node_modules\node-fetch\lib\index.js:1455:11)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at TLSSocket.socketErrorListener (_http_client.js:387:9)
    at emitOne (events.js:116:13)
    at TLSSocket.emit (events.js:211:7)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
</code></pre></div>
<p dir="auto">I spend alot of time in search how to solve it and find <a href="https://github.com/zeit/next.js/issues/4252" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/4252/hovercard">this</a> - marked as duplicate of <a href="https://github.com/zeit/next.js/issues/4237" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/4237/hovercard">next one</a> but it seems that its dosnt work for me.</p>
<p dir="auto">I have .npmrc file with next config:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="strict-ssl=false
registry=http://registry.npmjs.org/
http-proxy= http://myCompanyProxy:8080
https-proxy= http://myCompanyProxy:8080"><pre class="notranslate"><code class="notranslate">strict-ssl=false
registry=http://registry.npmjs.org/
http-proxy= http://myCompanyProxy:8080
https-proxy= http://myCompanyProxy:8080
</code></pre></div>
<p dir="auto">both are http.</p>
<hr>
<p dir="auto">I start feel myself a little bit silly because i still dont understand how to fix it :c</p>
<p dir="auto">System:<br>
OS: Windows 7<br>
Binaries:<br>
Node: 8.10.0<br>
npm: 6.7.0<br>
Browsers:<br>
Firefox: 68.0.2,<br>
IE: 11,</p>
<p dir="auto">P.s. i wanted write this in spectrum chat, but i have crashed websocket connection and my FF trying to reconnect in loop.</p>