-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find module 'mkdirp-promise' #22
Comments
Have you tried running "npm install" in the |
PS: I just updated the README with more details at: https://github.com/firebase/functions-samples/tree/master/generate-thumbnail |
root@midhilaj-Notebook-PC:/opt/functions# firebase deploy --only functions i deploying functions ✔ Deploy complete! |
in some causes thumbnail size is greater than original image |
The function will generate a "thumbnail" that fits inside a 200x200px box with a default compression quality of 85% for JPEGs. |
Error: Error parsing triggers: Cannot find module 'mkdirp-promise'
full code
# firebase deploy --only functions
=== Deploying to '0000000'...
i deploying functions
i functions: ensuring necessary APIs are enabled...
i runtimeconfig: ensuring necessary APIs are enabled...
✔ runtimeconfig: all necessary APIs are enabled
✔ functions: all necessary APIs are enabled
i functions: preparing functions directory for uploading...
Error: Error parsing triggers: Cannot find module 'mkdirp-promise'
Try running "npm install" in your functions directory before deploying.
Having trouble? Try firebase deploy --help
The text was updated successfully, but these errors were encountered: