cesium: missing ThirdParty/pako_inflate
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:
Cesium.js:337 Uncaught Error: Cesium missing ThirdParty/pako_inflate
at main (Cesium.js:337)
at callDep (Cesium.js:199)
at main (Cesium.js:332)
at req (Cesium.js:406)
at Cesium.js:206875
at Object.<anonymous> (Cesium.js:206886)
at Object.<anonymous> (Cesium.js:206886)
at __webpack_require__ (bootstrap 416caff…:688)
at fn (bootstrap 416caff…:109)
at Object.<anonymous> (cesium.service.ts:1)
at __webpack_require__ (bootstrap 416caff…:688)
at fn (bootstrap 416caff…:109)
at Object.<anonymous> (help.component.ts:11)
at __webpack_require__ (bootstrap 416caff…:688)
at fn (bootstrap 416caff…:109)
at Object.<anonymous> (index.ts:1)
at __webpack_require__ (bootstrap 416caff…:688)
at fn (bootstrap 416caff…:109)
at Object.<anonymous> (app.routes.ts:2)
at __webpack_require__ (bootstrap 416caff…:688)
at fn (bootstrap 416caff…:109)
at Object.<anonymous> (app.component.ts:35)
at __webpack_require__ (bootstrap 416caff…:688)
at fn (bootstrap 416caff…:109)
at Object.<anonymous> (index.ts:1)
at __webpack_require__ (bootstrap 416caff…:688)
at fn (bootstrap 416caff…:109)
at Object.<anonymous> (main.browser.ts:1)
at __webpack_require__ (bootstrap 416caff…:688)
at fn (bootstrap 416caff…:109)
at Object.<anonymous> (cesiumHeatmapRight.js:360)
at __webpack_require__ (bootstrap 416caff…:688)
at bootstrap 416caff…:789
at main.bundle.js:794
I’m using angular + webpack.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 3
- Comments: 19 (12 by maintainers)
Oh I use webpack required
cesium/Build/Cesium/Cesium.js
and tell webpack not to parse the built js file. and it throw error like this issue.After I copy file and load cesium using
<script>
tag, it worked.Thanks
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
@jason-crow you’re having that issue with Cesium 1.35? @ggetz do you want to look at this?