Sly777 / ran

:zap: RAN! React . GraphQL . Next.js Toolkit :zap: - SEO-Ready, Production-Ready, SSR, Hot-Reload, CSS-in-JS, Caching, CLI commands and more...
MIT License
2.22k stars 160 forks source link

Issues Deploying to Google Cloud Functions on Firebase. #325

Open shsunmoonlee opened 6 years ago

shsunmoonlee commented 6 years ago

I am trying to deploy Ran.js to google cloud functions on firebase. I followed this tutorial(https://codeburst.io/next-js-on-cloud-functions-for-firebase-with-firebase-hosting-7911465298f2) but I get 'internal server error'. Would appreciate your help!

hosting URL: https://next-js-react-wordpress.firebaseapp.com Function URL (next): https://us-central1-next-js-react-wordpress.cloudfunctions.net/next

Sly777 commented 6 years ago

Hey @SeunghunSunmoonLee!

I never use it for firebase function, actually. So I need to test it first. If you find the way to work this while I try, It can be perfect to tell us how to do! I can add it to documentation.

JulienHe commented 6 years ago

@SeunghunSunmoonLee Did you check in your Firebase Console what the function return? You'll find more information inside the console : https://console.firebase.google.com/u/0/project/{your-project-name}/functions/list

Hope it will help you!