Closed fatesinger closed 5 years ago
已安装 ffmpeg 和 Development Tools
CentOS Linux release 7.5.1804 (Core)
NodeJs v8.1.4
代码
const WxVoice = require('wx-voice'); var voice = new WxVoice();
报错
throw new Error("Silk SDK not found, make sure you compiled using command: wx-voice compile");
您好,目前这只是一个 C 代码的包装,也没进行 node-gyp 的结合
所以运行前是需要在命令行输入 wx-voice compile 就可以了 (要在项目所属的文件夹内输入)
wx-voice compile
感谢!!!
已安装 ffmpeg 和 Development Tools
CentOS Linux release 7.5.1804 (Core)
NodeJs v8.1.4
代码
报错
throw new Error("Silk SDK not found, make sure you compiled using command: wx-voice compile");