当前位置:首页 » 《随便一记》 » 正文

@antv/layout 组件下ml-matrix/src/symmetricMatrix.js报错问题

19 人参与  2024年03月09日 08:01  分类 : 《随便一记》  评论

点击全文阅读


记录一次ml-matrix/src/symmetricMatrix.js的报错

解决方案

 ERROR  Failed to compile with 2 errors                                            12:58:00 error  in ./node_modules/ml-matrix/src/symmetricMatrix.jsModule parse failed: Unexpected character '#' (8:2)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| export class SymmetricMatrix extends AbstractMatrix {|   /** @type {Matrix} */>   #matrix;| |   get size() { @ ./node_modules/ml-matrix/src/index.js 2:0-34 2:0-34 @ ./node_modules/@antv/layout/es/layout/mds.js @ ./node_modules/@antv/layout/es/layout/index.js @ ./node_modules/@antv/layout/es/index.js @ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/modules/visualDrill/components/dependencyAnalysis.vue?vue&type=script&lang=js     @ ./src/modules/visualDrill/components/dependencyAnalysis.vue?vue&type=script&lang=js      @ ./src/modules/visualDrill/components/dependencyAnalysis.vue @ ./src/modules/visualDrill sync .ts|.tsx|.vue$ @ ./src/modules/visualDrill/configure.ts @ ./src/modules sync configure.ts$ @ ./src/plugin.ts @ ./src/main.ts @ multi (webpack)-dev-server/client?http://172.16.16.191:9002&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts error  in ./node_modules/ml-matrix/src/matrix.jsModule parse failed: Unexpected token (1587:6)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|    * @type {Float64Array[]}|    */>   data;||   /** @ ./node_modules/ml-matrix/src/index.js 1:0-70 1:0-70 1:0-70 1:0-70 @ ./node_modules/@antv/layout/es/layout/mds.js @ ./node_modules/@antv/layout/es/layout/index.js @ ./node_modules/@antv/layout/es/index.js @ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/modules/visualDrill/components/dependencyAnalysis.vue?vue&type=script&lang=js     @ ./src/modules/visualDrill/components/dependencyAnalysis.vue?vue&type=script&lang=js      @ ./src/modules/visualDrill/components/dependencyAnalysis.vue @ ./src/modules/visualDrill sync .ts|.tsx|.vue$ @ ./src/modules/visualDrill/configure.ts @ ./src/modules sync configure.ts$ @ ./src/plugin.ts @ ./src/main.ts @ multi (webpack)-dev-server/client?http://172.16.16.191:9002&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts

解决方案

更换ml-matrix的版本号"version": “6.11.0"为"version”: “6.10.2”,

"node_modules/ml-matrix": {      "version": "6.10.2",      "resolved": "http://verdaccio.hatech.com.cn:4873/ml-matrix/-/ml-matrix-6.10.2.tgz",      "integrity": "sha512-+yxwzMazC76DAsgEvDrdCfRMH7+lO7UdnuWllavnPeWkPD2oIBA6rLzvst7BFYUxzgRz/h6V6lLzYIYtTvINbw=="    },

点击全文阅读


本文链接:http://zhangshiyu.com/post/76225.html

<< 上一篇 下一篇 >>

  • 评论(0)
  • 赞助本站

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

最新文章

  • 林语熙周晏京(离婚后,老公天天跪求复合全集阅读)最新章节免费在线阅读_《离婚后,老公天天跪求复合全集阅读》最新热门小说 -
  • 顾绫雪嬴政《被始皇读心后,文武百官卷疯了!完结版阅读》完整版免费在线阅读_(顾绫雪嬴政)全集免费阅读 -
  • 情深意长皆成空完整版阅读(沈卿林砚辞)抖音热文_《情深意长皆成空完整版阅读》最新章节免费在线阅读 -
  • 姐姐为暴富重伤傅家金孙后火葬场了全集阅读小说(傅延江瑶)全文免费阅读无弹窗大结局_(姐姐为暴富重伤傅家金孙后火葬场了全集阅读免费阅读全文大结局)最新章节列表_笔趣阁(姐姐为暴富重伤傅家金孙后火葬场了全集阅读) -
  • 乔以诺萧瑾淮(不是你好是我好全集阅读)精彩试读_《不是你好是我好全集阅读》全本阅读 -
  • 白月光双双《重生后我成全老公和白月光,他却急了全集》全文免费阅读无弹窗大结局_(白月光双双)最新章节免费在线阅读 -
  • 苏小枫苏末小说免费笔趣阁_苏小枫苏末小说全章完本大结局
  • 死遁后他疯了最新小说全文阅读_最新免费小说沈轻洲林梦江之雪_完本小说(死遁后他疯了)
  • 免费小说《顾里宋婷婷小岳欧颖倩》已完结(顾里宋婷婷小岳欧颖倩)热门小说大结局全文阅读笔趣阁
  • 侄子为求富贵,变性后全家后悔最新小说_免费小说全文阅读(苏小枫苏末)_侄子为求富贵,变性后全家后悔苏小枫苏末小说推荐完结
  • 最新《沈轻洲林梦江之雪》小说(全集完整新上小说大结局(沈轻洲林梦江之雪))全文阅读笔趣阁
  • 拒绝嫁给姐夫后,我在八零年代暴富了(陈小棠沈正韩)阅读 -

    关于我们 | 我要投稿 | 免责申明

    Copyright © 2020-2022 ZhangShiYu.com Rights Reserved.豫ICP备2022013469号-1