DEV Community

Discussion on: Deploy nuxt on Firebase

Collapse
 
bartlwojcik profile image
Bartłomiej

That clarified a lot, thank you!

One more question: after following steps from the article I can't use yarn dev anymore. It looks like my plugins are now undefined on page render and Nuxt throws Cannot read property ... of undefined error instead of rendering my page. yarn build:firebase && yarn start:firebase works fine.

Do you have any idea what may be wrong? Do I need some additional configuration in src/server/index.js to make it work again?

Thread Thread
 
kiritchoukc profile image
KiritchoukC

Weird, i get the same error...
I'll investigate on this when i get some free time (so rare these days :D)

Thread Thread
 
hudsondaf profile image
Hudson de Almeida Ferreira

Did you guys manage to solve this issue? I'm having the same error.

Thread Thread
 
hudsondaf profile image
Hudson de Almeida Ferreira

Found the solution in the comment below... just run yarn clean before running the yarn dev.