首页 / 浏览问题 / WebGIS / 问题详情
SuperMap/Vue-iClient3D-WebGL运行报错信息求助
3EXP 2021年08月10日
[plugin:vite:import-analysis] Failed to resolve import "./clip/clip-plane-new/index.js". Does the file exist?
/iClient3D-vue-master/src/components/components.js:21:47    //这个包是没有的,但是里面有引入了,我把那块注释掉还是报错
19 |  // import clipPlane from "./clip/clip-plane/index.js"
20 |  import clipCross from "./clip/clip-cross/index.js"
21 |  import clipPlaneNew from "./clip/clip-plane-new/index.js"
   |                                                ^
22 |  import measure from "./analysis_3d/measure/index.js"
23 |  import skyLine from "./analysis_3d/sky-line/index.js"
    at formatError (E:\iClient3D-vue-master\node_modules\vite\dist\node\chunks\dep-6f99a5ef.js:53296:46)
    at TransformContext.error (E:\iClient3D-vue-master\node_modules\vite\dist\node\chunks\dep-6f99a5ef.js:53292:19)
    at normalizeUrl (E:\iClient3D-vue-master\node_modules\vite\dist\node\chunks\dep-6f99a5ef.js:46206:26)
    at async TransformContext.transform (E:\iClient3D-vue-master\node_modules\vite\dist\node\chunks\dep-6f99a5ef.js:46333:57)
    at async Object.transform (E:\iClient3D-vue-master\node_modules\vite\dist\node\chunks\dep-6f99a5ef.js:53507:30)
    at async transformRequest (E:\iClient3D-vue-master\node_modules\vite\dist\node\chunks\dep-6f99a5ef.js:60120:29)
    at async E:\iClient3D-vue-master\node_modules\vite\dist\node\chunks\dep-6f99a5ef.js:60211:32

Click outside or fix the code to dismiss.
You can also disable this overlay with hmr: { overlay: false } in vite.config.js.

2 个回答

您好,这个包是在github上面下载的吗?

按照github上帮助进行部署即可:https://github.com/SuperMap/iClient3D-vue

6,087EXP 2021年08月10日
是在github上下载的
你好,我也是在用vue组件-iclient3d-webgl(vue2的),修改源码但是不知道怎么打包和运行,报一堆错,想请教一下
qq1362400530
48EXP 2022年02月04日
你的问题解决了吗?
...