-
Notifications
You must be signed in to change notification settings - Fork 381
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
image cannot read property startswith of undefined #175
Comments
Hi @codersmoon please could you provide more details about your setup:
Thanks |
So this error would be thrown when no |
i use node.js app on google cloud run for image upload to google cloud storage.if i upload with firebase console works perfectly; but i use my app , images do not contain content type.İt doesn't work when changing the content type after uploading.like this : |
Thanks, I'll take a look into both situations. |
my cloud run node js version is different from firebase image ext.cloud run node version 10.14.2 but firebase 8. |
Hİ.I use google cloud firebase image extantion for image resizing ( for google cloud storage images ) ; but i get this error :
TypeError: Cannot read property 'startsWith' of undefined at Object.exports.isImage (/srv/functions/lib/validators.js:18:48) at Object.<anonymous> (/srv/functions/lib/index.js:47:32) at Generator.next (<anonymous>) at /srv/functions/lib/index.js:22:71 at new Promise (<anonymous>) at __awaiter (/srv/functions/lib/index.js:18:12) at exports.generateResizedImage.functions.storage.object.onFinalize (/srv/functions/lib/index.js:44:82) at cloudFunction (/srv/node_modules/firebase-functions/lib/cloud-functions.js:131:23) at /worker/worker.js:825:24 at <anonymous>
The text was updated successfully, but these errors were encountered: