2112212121是
2112212121是
  • 发布:2022-03-02 01:14
  • 更新:2022-03-02 01:14
  • 阅读:447

使用uniapp 引入了一个第三方js库 ecpair 报模块错误 有哪个大知道怎么解决吗?

分类:uni-app

使用uniapp 引入了一个第三方js库 ecpair
var ECPairFactory = require('@/common/node_modules/ecpair');

报模块错误
00:58:33.690 [Vue warn]: Error in onLoad hook: "Error: Module parse failed: Unexpected token (67:7)
00:58:33.710 You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
00:58:33.731 | console.log(1)
00:58:33.751 | class ECPair {
00:58:33.772 > D;
00:58:33.792 |
Q;
00:58:33.813 | compressed;"
00:58:33.854 (found at pages/ceshi/ceshi.vue:1)
00:58:33.874 App Show at pages/ceshi/ceshi.vue:79

2022-03-02 01:14 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复