I have created a web application using google speech to text api. My web application is working fine on local machine but not on google cloud platorm. In the following code node-record-lpcm16 module requires you to install SoX and it must be available in your $PATH. To make it work on google cloud platform that i have created a container in which i have installed sox and runnning node comand to initialize the program. I am receiving an error sox exited with error code 2. const recorder = require('node-record-lpcm16');...
I have created a web application using google speech to text api. My web application is working fine on local machine but not on google cloud platorm. I am receiving an error sox exited with error code 2. In the following code node-record-lpcm16 module requires you to install SoX and it must be available in your $PATH. const recorder = require('node-record-lpcm16'); // Imports the Google Cloud client library const speech = require('@google-cloud/speech'); // Creates a client const client = new speech.SpeechClient();...
Hello, I am facing the same issue did you solve it?