<p dir="auto">I am trying to make nextjs works together with firebase cloud functions.</p>
<p dir="auto">When i am testing locally, there is no problem my app works perfectly.</p>
<p dir="auto">However when i am deploying there is an error related to this line</p>
<p dir="auto"><code class="notranslate">const app = next({ dev : false })</code></p>
<p dir="auto">When i put this line, my functions cannot be deployed and i get this message</p>
<p dir="auto"><code class="notranslate">Deploy Error: Function load error: Error: cannot communicate with function.</code></p>
<p dir="auto">I don't understand because i don't have this issue in local testing.</p>
<p dir="auto">Then when i comment this line. It's okay i can deploy my functions. However there is no possibility to use next.js . So this is the problem.</p>
<p dir="auto">I have this error even without using any nextjs stuff in my functions. Just the fact to declare the line</p>
<p dir="auto"><code class="notranslate">const app = next({ dev : false })</code> prevent my app to deploy</p>
<p dir="auto">any suggestions ?</p>
<p dir="auto">Firebase recently introduced the feature for server side rendering using cloud functions. ANy guide of how to implement next with it Next +redux progressive web app?</p>