loading...

Discussion on: How to host Nuxt.js application on firebase with a single command

Collapse
slushnys profile image
Zigmas Slusnys Author

Could you specify which function are you talking about and if that is a problem, and if so, what difficulties does it cause? Thanks

Collapse
crow1796 profile image
Joshua

The functions/index.js I got the same content as yours and when I try to deploy it and open in a browser it gives me this error

FATAL Cannot find module '@nuxtjs/axios'

. And this is my nuxt.config.js pastebin.com/LvxBi1yC

Thread Thread
slushnys profile image
Zigmas Slusnys Author

Did you build it with the non scripts provided in the src directory? Everything should be done with those scripts. If there are some missing dependencies it means the package.json may be missing something in functions directory.

Thread Thread
crow1796 profile image
Joshua

So do I have to add all of the 3rd party libraries installed inside the src/package.json into my functions/package.json?