DEV Community

Discussion on: What I struggled with Next.js using Firebase Hosting (and enable SSR)

Collapse
 
raasteer profile image
raasteer

I have small problem :) My server function is inside "functions" folder created with default setup of firebase (./functions/src/index.js) and after deploy in the browser I have "Error: could not handle the request" and in Firebase Functions log: "Couldn't find a pages directory. Please create one under the project root". How can I fix it?