-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
missing ThirdParty/pako_inflate #5417
Comments
I've been successfully using Webpack by including |
I got the same problem so I use 1.31 version. |
Hi guys, I'm experiencing a similar issue with webpacking Cesium due to issues with loading pako_inflate/decodeGoogleEarthEnterprisePacket. I circumvent the issue by building/combining the Cesium source after deleting those 2 files to remove their dependencies, but I'm unsure what the ramifications of that might be. Is there possibly a solution to this issue? Oh and thanks for fixing the jsep issue, that was another problem when webpacking. |
@jason-crow you're having that issue with Cesium 1.35? @ggetz do you want to look at this? |
@hpinkos , Yes, technically i'm using the 3d-tiles-vector branch, but it appears to be up to date with master. , the version is 1.35.2 |
Sure @hpinkos, I will take a look at this soon. |
@EvaldasVasiliauskas or @jason-crow could you post your webpack configuration and directory structure to help me reproduce this? I am unable to reproduce this using the example from the blog post and |
I have also encountered this problem when using Cesium 1.35 ,but 1.31 does not. Here is my repository https://github.com/543802360/express-webpack-cesium, Cesium 1.31 works well |
I have the same problem using react with webpack. Using 1.31 and 1.32 works fine, but with 1.35 and 1.36 i get this same error whether using |
hello, is there any WA meanwhile? Thanks |
We're working on a solution for the webpack issues soon, in the meantime you may have some luck using Source/Cesium.js instead of the built version. |
This should be addressed by our recommended webpack configuration https://cesiumjs.org/tutorials/cesium-and-webpack/ |
cesium is making my devtool pretty slow ... unacceptable |
@magicdawn the built release is available for download on our website: https://cesiumjs.org/downloads/ In the future, please ask questions like this on our forum: https://groups.google.com/forum/?hl=en#!forum/cesium-dev |
@magicdawn more specifically, the tutorial I linked to above https://cesiumjs.org/tutorials/cesium-and-webpack/ will not only provide you an optimal webpack environment for Cesium, but will cover how to sue the built version with it for fast iteration. |
Oh I use webpack required After I copy file and load cesium using Thanks |
I think this is linked elsewhere, but if anybody is still interested in "managing" Cesium via Webpack without the time sink of re-building it all the time, I was able to make my own Webpack DLL based on this writeup. It's a bit of a time investment but it gives you more control over the final output. |
@magicdawn Hi, please create gist of your webpack config.. r u using webpack 3.* +? |
@js2me if you have webpack questions, our Cesium and Webpack tutorial might help you: https://cesiumjs.org/tutorials/cesium-and-webpack/ Otherwise, please ask any questions you have on our forum: https://groups.google.com/forum/?hl=en#!forum/cesium-dev |
After updating to 1.34 I get kind of similar error to #5278 (probably somewhere else than before):
Cesium missing ThirdParty/pako_inflate
when using unminified version, full error:
I'm using angular + webpack.
The text was updated successfully, but these errors were encountered: