I’m trying to work with “files” in cloud-functions. Basically following this:
I’m creating the cloud function in the portal using the web IDE.
When I try and invoke the cloud function I’m getting the error:
“Error: Cannot find module ‘request-promise’”
Basically it seems to have an issue with the following line in the demo code.:
const request = require(‘request-promise’);
How do you install node modules in cloud functions?