Cesium.js from npm run release fails to work

When I run the Cesium.js file I got from npm run release from cloning the repo, the browser console throws the following error,

Cesium.js:1 An error occurred while rendering. Rendering has stopped. TypeError: Cannot read property 'undefined' of undefined TypeError: Cannot read property 'undefined' of undefined at Object.ModelUtility.computeBoundingSphere (http://localhost:8080/Source/cesium/Build/Cesium/Cesium.js:1:1304640) at Model.update (http://localhost:8080/Source/cesium/Build/Cesium/Cesium.js:1:1531518) at Gltf3DTileContent.update (http://localhost:8080/Source/cesium/Build/Cesium/Cesium.js:1:1565623) at Cesium3DTile.process (http://localhost:8080/Source/cesium/Build/Cesium/Cesium.js:1:1975739) at processTiles (http://localhost:8080/Source/cesium/Build/Cesium/Cesium.js:1:2008788) at Cesium3DTileset.prePassesUpdate (http://localhost:8080/Source/cesium/Build/Cesium/Cesium.js:1:2009079) at PrimitiveCollection.prePassesUpdate (http://localhost:8080/Source/cesium/Build/Cesium/Cesium.js:1:2179515) at prePassesUpdate (http://localhost:8080/Source/cesium/Build/Cesium/Cesium.js:1:3228989) at tryAndCatchError (http://localhost:8080/Source/cesium/Build/Cesium/Cesium.js:1:3234226) at Scene.render (http://localhost:8080/Source/cesium/Build/Cesium/Cesium.js:1:3235715)

I was able to run the exact same code I wrote using the Cesium.js file I got from npm install in my own package.json

Any input on this is greatly appreciated!

Hi , I got the same mistake and it still wan’t sloved. Did u figure out the solution? :pray:

If you try the same thing with c137.js, do you get the same error? If so, the problem in in your code.

1 Like