node_modules/mars3d/dist/mars3d.js (12:7): Error when using sourcemap for reporting an error: Can't resolve original location of error.
✓ 4546 modules transformed.
x Build failed in 14.52s
error during build:
node_modules/mars3d/dist/mars3d.js (12:7): "default" is not exported by "mars3d-cesium?commonjs-external", imported by "node_modules/mars3d/dist/mars3d.js".
file: E:/electronSpace/bud3d-scene-app/node_modules/mars3d/dist/mars3d.js:12:7
10: import { __module as mars3dModule } from "\u0000E:/electronSpace/bud3d-scene-app/node_modules/mars3d/dist/mars3d.js?c...
11: var mars3d = mars3dModule.exports;
12: import require$$0 from "\u0000mars3d-cesium?commonjs-external";
^
13: import { __require as require$$1 } from "\u0000E:/electronSpace/bud3d-scene-app/node_modules/@turf/turf/dist/js/index...
at getRollupError (file:///E:/electronSpace/bud3d-scene-app/node_modules/vite/node_modules/rollup/dist/es/shared/parseAst.js:396:41)
at error (file:///E:/electronSpace/bud3d-scene-app/node_modules/vite/node_modules/rollup/dist/es/shared/parseAst.js:392:42)
at Module.error (file:///E:/electronSpace/bud3d-scene-app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:13858:16)
at Module.traceVariable (file:///E:/electronSpace/bud3d-scene-app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:14306:29)
at ModuleScope.findVariable (file:///E:/electronSpace/bud3d-scene-app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:11984:39)
at ChildScope.findVariable (file:///E:/electronSpace/bud3d-scene-app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
at FunctionScope.findVariable (file:///E:/electronSpace/bud3d-scene-app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
at FunctionBodyScope.findVariable (file:///E:/electronSpace/bud3d-scene-app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
at ChildScope.findVariable (file:///E:/electronSpace/bud3d-scene-app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
at FunctionScope.findVariable (file:///E:/electronSpace/bud3d-scene-app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
Describe the bug
node_modules/mars3d/dist/mars3d.js (12:7): Error when using sourcemap for reporting an error: Can't resolve original location of error. ✓ 4546 modules transformed. x Build failed in 14.52s error during build: node_modules/mars3d/dist/mars3d.js (12:7): "default" is not exported by "mars3d-cesium?commonjs-external", imported by "node_modules/mars3d/dist/mars3d.js". file: E:/electronSpace/bud3d-scene-app/node_modules/mars3d/dist/mars3d.js:12:7
10: import { __module as mars3dModule } from "\u0000E:/electronSpace/bud3d-scene-app/node_modules/mars3d/dist/mars3d.js?c... 11: var mars3d = mars3dModule.exports; 12: import require$$0 from "\u0000mars3d-cesium?commonjs-external"; ^ 13: import { __require as require$$1 } from "\u0000E:/electronSpace/bud3d-scene-app/node_modules/@turf/turf/dist/js/index...
Electron-Vite Version
^2.0.0
Electron Version
^28.2.0
Vite Version
5.3.1
Validations