-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The requested module xxx does not provide an export named 'default' #34
Comments
is this a bug of mersenne-twister ? |
是的把. 我把 mersenne-twister 改了 default 导出 后面就会有更多模块报错 |
暂时先把 cesium 降级到 1.96.0 以下吧 |
这个问题你是怎么解决的? |
I am facing the same problem with the update of Cesium to 1.96.0. |
Seems like 1.96.0 has a big upgrade, I haven't got time to try it yet. It's really welcome to make a PR. https://cesium.com/blog/2022/08/01/cesium-releases-in-august-2022/ |
hi @jingtian168 @JSMifans 由于cesium 1.96.0 改动较大,临时解决办法,固定 cesium 在 Temporary solution: do not use |
Yes i can reproduce this issue in two project using https://github.com/meschg/vue-stack-cesium and also created the cesium issue above. |
Thanks @meschg , I'll keep watching that cesium issue. your project and |
please try
|
Hi @nshen, The fix works for my projects and I confirm everything works with cesium@1.96.0 and vite-plugin-cesium@1.2.21. I believe the only issue left is that the npm dep was not updated to 1.96.0 from 1.95.0.
Or was this keep for a reason? vite-plugin-cesium/package.json Line 53 in 0e19e77
Kind regards, |
Hi @meschg try 1.2.22 vite-plugin-cesium/package.json Line 53 in 3fb46a5
|
Hi @nshen, 1.2.22 works perfectly. Thanks :) |
Any updates, gentlemen? The issue with the lack of a default export still persists in the latest version of CesiumJS. It's rather confusing. |
mersenne-twister.js?v=f6216b95:1 Uncaught SyntaxError: The requested module '/node_modules/mersenne-twister/src/mersenne-twister.js?v=f6216b95' does not provide an export named 'default' (at mersenne-twister.js?v=f6216b95:1:10)
The text was updated successfully, but these errors were encountered: