I have some cloud functions stored in my Firebase flutter app, these functions are working fine but unfortunately i've accidentally deleted the local node_modules file that contains the code for these functions so I am unable to edit them. Is there a way I can retrieve the code for my functions from firebase or will I have to write them all over again from scratch?
Asked
Active
Viewed 12 times
0
-
If all you lost was node_modules, then just do `npm install` again, as that is entirely just stuff downloded from npm, not your code. – Doug Stevenson Aug 21 '19 at 19:26
-
@DougStevenson i lost my index.js which contains the code for the functions – Callum Clift Aug 21 '19 at 19:29
-
@DougStevenson the link you provided answered what I needed, thank you! – Callum Clift Aug 21 '19 at 19:33