davidroyer / nuxt-ssr-firebase

Nuxt.js Universal App with SSR via Firebase Functions and Firebase Hosting
https://nuxtssrfire.firebaseapp.com/
278 stars 62 forks source link

I cannot deploy because firebase cannot deploy Nuxt lib #3

Closed annibuliful closed 6 years ago

annibuliful commented 6 years ago

screen shot 2561-01-09 at 20 19 19

ihsanberahim commented 6 years ago

node version issue. firebase only support node 6. (by the time i reply this) nuxt only support node `>=8.`.

annibuliful commented 6 years ago

If I use generate, I will get prerendered?

annibuliful commented 6 years ago

Is it not SSR version?

ihsanberahim commented 6 years ago

SSR not work as firebase running on node 6 but nuxt require node 9 (by the time i reply this)

rolandszpond commented 6 years ago

@lagmanzaza try removing the "^" from the nuxt line in both package.json files since node tries installing the latest version of nuxt instead of 1.0.0-rc11.

On a side note, I've read that firebase functions will only update with latest stable versions (LTS) of node, but the latest is 8.9.4, which nuxt 1.0.0 only requires v8.0.0... hmmm

EDIT: change the nuxt package to: "nuxt": "1.0.0-rc11" instead of "nuxt": "latest"

annibuliful commented 6 years ago

Oh great thank you very much, I have a problem I will create new issue