练舞666
练舞666
  • 发布:2024-06-19 22:20
  • 更新:2024-06-19 22:20
  • 阅读:90

#插件讨论# 【 腾讯云语音识别(ASR)插件 - c***@tencent.com 】停止录音方法endRecord()报错

分类:uni-app

调用一句话识别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)

2024-06-19 22:20 负责人:无 分享
已邀请:

要回复问题请先登录注册