Issues with node - Error: Cannot find module 'firebase-functions'

cn flag

One of our devs is trying to run a script with node, but it gives this error output:

 throw err;

Error: Cannot find module 'firebase-functions'
Require stack: ...

Since this dev is new to node, and so do i, what exactly can we do?

We have node 12 running

Michael Hampton avatar
cz flag
Programming questions belong on [so].

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.