nuxt-community / firebase-module

🔥 Easily integrate Firebase into your Nuxt project. 🔥
https://firebase.nuxtjs.org
MIT License
642 stars 98 forks source link

Cannot read property 'memoryOnly' of undefined #224

Closed bkuri closed 4 years ago

bkuri commented 4 years ago

Version

@nuxtjs/firebase: 6.0.0 firebase: 7.15.0 nuxt: 2.12.2

Reproduction Link

Steps to reproduce

Upgrade @nuxtjs/firebase ^5.2.0 → ^6.0.0 Upgrade firebase ^7.14.5 → ^7.15.0

What is Expected?

nuxt build to work

What is actually happening?

yarn run v1.22.4
$ nuxt

   ╭──────────────────────────────────────────╮
   │                                          │
   │   Nuxt.js v2.12.2                        │
   │   Running in development mode (spa)      │
   │                                          │
   │   Listening on: http://localhost:3000/   │
   │                                          │
   ╰──────────────────────────────────────────╯

ℹ Preparing project for development                                                 22:01:08
ℹ Initial build may take a while                                                    22:01:08
✔ Builder initialized                                                               22:01:08

 ERROR  Could not compile template ...node_modules/@nuxtjs/firebase/lib/plugins/main.js: Cannot read property 'memoryOnly' of undefined

  at Promise.all.templateFiles.map (node_modules/@nuxt/builder/dist/builder.js:6018:17)

What fixes it?

Downgrading @nuxtjs/firebase to 5.2.0

bkuri commented 4 years ago

Seems to be related to #135

lupas commented 4 years ago

Thanks! Fixed with v6.0.1.