调用一句话识别demo, 停止录音方法endRecord()时报错,大概是什么原因:
Error: Error: [tencentcloud-plugin]: Unexpected token import
/var/user/node_modules/axios/index.js:1
(function (exports, require, module, filename, dirname) { import axios from './lib/axios.js';
SyntaxError: Unexpected token import
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:607:28)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/user/ocr/utils.js:19:15)
0 个回复