javascript_is_wack
CDCloudflare Developers
•Created by Aakash on 3/28/2025 in #workers-help
Not able to use @google-cloud/speech
@Aakash You can patch it out using patch package and editing the code mentioned in this issue. At least that's what worked for me.
Not sure how to point anyone in cloudflare or Google to take a look at this bug but it should be relatively quick to fix via updated polyfill or that try-catch block. Even if I write a pull request, not sure how long that will take to get looked at so just not going to bother.
3 replies
CDCloudflare Developers
•Created by javascript_is_wack on 4/25/2025 in #pages-help
Unable to Deploy Unless using CLI Deploy
Looks like this is already a bug for this. I'm assuming this impacts all Google npm packages. It is the polyfill for the process and apparently this can be patched out manually as a workaround. https://github.com/googleapis/js-genai/issues/324
2 replies
CDCloudflare Developers
•Created by Aakash on 3/28/2025 in #workers-help
Not able to use @google-cloud/speech
Having the exact same issue with "@googleapis/gmail". I'm able to work around this by deploying via "wrangler pages deploy ." or something similar. Not sure if there's a way to access and debug the files built for cloudflare page functions so I'm at an impass for automatic deployments as well.
3 replies