question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cesium 1.96.0 breaks (at least vite | vite-plugin-cesium) build chains due to export from mersenne-twister.js

See original GitHub issue

Dear cesium-team,

looks like cesium 1.96.0 might breaks some build chains - at least my vite-build is not working anymore. I got the following issue on my dev system. I did not test it yet on another system but I can reproduce the issue by updating from 1.95.0 to 1.96.0 in my update-test project and also in my main project (not public available). I added the error below:

Issue export { default } from '/node_modules/mersenne-twister/src/mersenne-twister.js?v=9f8ad086'; cesium 1.96.0 is not working with vite, vue, vite-plugin-cesium

2022-08-07_17-16-39_firefox-91 11 0esr

Sandcastle example | How to reproduce

use commit: https://github.com/meschg/vue-stack-cesium/commit/8141e225e9f89a01aac8bdff077358742891f89b npm install cesium@1.96.0 -f install vite/vue dep vite or use vue ui

Cause | How to fix

  • Sorry, not absolutly clear to me 😦
  • vite-plugin-cesium might be the issue but I did not test it yet without the vite-plugin-cesium Mabye someone else can check if it also is an issue when not using vite-plugin-cesium https://github.com/nshen/vite-plugin-cesium/issues/34

Browser: Firefox 91.11.0esr (64-Bit) node v16.132 npm 8.16.0

Operating System: Debian Bookworm 2022-08-07

Most errors I had with cesium in my vue project over the last two often where pretty similar in angular, react and anything with webpack. I am not sure if this also applies here. I hope this is no duplicate and also anyone else can reproduce this.

Thanks for you effort!

Kind regards, Gerhard

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:6
  • Comments:15 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
meschgcommented, Aug 20, 2022

Hi @ggetz and @nshen,

thanks for your effort investigating and fixing this. I can confirm that both my vite projects now work with cesium@1.96.0 and vite-plugin-cesium@1.2.21.

Kind regards, meschg

2reactions
nshencommented, Aug 13, 2022

Thanks @an501920078 , I hope it will work after Refactor “Source/ThirdParty” imports.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Need help on 1.96.0 - CesiumJS - Cesium Community
Hi Cesium community, I am the author of vite-plugin-cesium. ... build chains due to export from mersenne-twister.js · Issue #10650 ...
Read more >
The requested module xxx does not provide an export named ...
cesium 1.96.0 breaks (at least vite | vite-plugin-cesium) build chains due to export from mersenne-twister.js CesiumGS/cesium#10650.
Read more >
Injection Token in Angular for Cesium.js - Stack Overflow
here are the raw files for reference as well. This project is build with angular-cli. I started by running npm install --save cesium....
Read more >
Real random - Symmetry Magazine
Hotbits uses the decay of the isotope cesium-137 to generate random numbers. An atom undergoes beta decay when a neutron in its nucleus ......
Read more >
Cesium, City and file formats. - Google Groups
so imagine a Cesium app, where you upload your 3D model, place it, add information and then export it in CityGML or any...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found