The function is looking for 3rd party libraries used in client.
Could you specify which function are you talking about and if that is a problem, and if so, what difficulties does it cause? Thanks
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
functions/index.js
FATAL Cannot find module '@nuxtjs/axios'
nuxt.config.js
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.
So do I have to add all of the 3rd party libraries installed inside the src/package.json into my functions/package.json?
src/package.json
functions/package.json
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The function is looking for 3rd party libraries used in client.
Could you specify which function are you talking about and if that is a problem, and if so, what difficulties does it cause? Thanks
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 errorFATAL Cannot find module '@nuxtjs/axios'
. And this is my
nuxt.config.js
pastebin.com/LvxBi1yCDid 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.
So do I have to add all of the 3rd party libraries installed inside the
src/package.json
into myfunctions/package.json
?