如何在linux中安装不在包中的版本

问题描述

我使用 Google Cloud Speech 制作了一个网络应用程序
并将其部署到Linux服务器并发生错误

Audio sttInstance.recording error sox has exited with error code 1. 

Enable debugging with the environment variable DEBUG=record. 

Google 搜索结果解决方案是版本降级 (14.4.2 => 14.4.1)
但是,在命令结果下方没有 sox 14.4.1 版本 没有搜索结果,因此无法下载。

sudo apt policy sox
sudo apt-cache showpkg sox
sudo apt-cache madison sox

我试过了

  • 使用 debug => 显示控制台调试结果

  • 我找到了 sox 14.4.1 git repository 并将克隆到我的 linux 服务器
    添加linux环境

    导出路径=$PATH:/home/ubuntu/myApp/back/sox-code

和 npm run start 结果 Error: spawn ENOTDIR

部署:亚马逊 ec2
ubunt 版本:Ubuntu 18.04.5 LTS

如何下​​载 sox 14.4.1?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)