echogarden icon indicating copy to clipboard operation
echogarden copied to clipboard

Importing library to google cloud functions syntax error

Open dwang3142 opened this issue 1 year ago • 2 comments

Hey - I've been trying to use this in a google cloud function but i keep getting a bunch of syntax errors when trying to use in a function. Works fine in local. Specifically trying to use the align nodejs function.

dwang3142 avatar Oct 02 '24 05:10 dwang3142

Hi, I apologize for the late reply.

My free trials for Google, Microsoft and Amazon services have all expired. I cannot directly test these commercial services are working correctly, unless I use paid requests, which currently don't seem to be worth it due to the low usage of the cloud features, and the library in general (I'm doing development with a zero budget).

I'll need more detailed information on what errors are seen, and which Google services are being used (synthesis? recognition?).

rotemdan avatar Dec 06 '24 07:12 rotemdan

I re-read your question.

I think you may be trying to run the library on the cloud via Google, rather than using one of the Google Cloud-based engines (synthesis / recognition)? In that case, it's possible your issue may be caused by #75 (wrong casing in path to main module on package.json), which has been recently fixed. Let me know if that is it.

rotemdan avatar Dec 06 '24 07:12 rotemdan