vuejs/vuefire

SSR: true does not work

crunchwrap89 opened this issue · 0 comments

Reproduction

git@github.com:posva/nuxt--vuefire-example-blaze-plan.git

Steps to reproduce the bug

1. npx degit git@github.com:posva/nuxt--vuefire-example-blaze-plan.git
2. pnpm i
3. pnpm build

Expected behavior

All pages should be prerendered with SSR since SSR: true (excluding the routeRules:
'/admin': { ssr: false },
'/login': { ssr: false },
'/analytics': { ssr: false },)

Actual behavior

produces error:

Prerendering 2 routes                                                                                                                                                                       3:02:04 PM
  ├─ /analytics (30ms)                                                                                                                                                                          nitro 3:02:04 PM
  ├─ / (155ms)                                                                                                                                                                                 3:02:04 PM
  │ └── Error: [500] 
                                                                                                                                                                                                
Errors prerendering:
  ├─ / (155ms)                                                                                                                                                                                 3:02:04 PM
  │ └── Error: [500]