Can't run Cesium Locally

1. A concise explanation of the problem you’re experiencing.

I have followed the instructions in:

https://github.com/AnalyticalGraphicsInc/cesium/tree/master/Documentation/Contributors/BuildGuide

Specifically:

git clone git@github.com:AnalyticalGraphicsInc/cesium.git

npm install

npm run build

  • Build finished in less than 1 second

  • only one file is produced in the /Build folder (minifyShaders.state)

npm start

The server starts but naturally cesium.js is not found in that folder

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you’re using, your operating system and browser.

Latest fom Git Hub 2017/10/25

Windows to

node 6.11.1

node version?

The Build instructions (https://github.com/AnalyticalGraphicsInc/cesium/tree/master/Documentation/Contributors/BuildGuide)

Suggest 6.x or higher. I am using 6.11.1.

What node version should I be using?

Hi Garth,

Node 6+ should be fine.

Did everything install correctly on npm install? Also you’re running the npm commands at the root Cesium directory, correct?

Can you provide an error messages or logs? I’m at a loss for what exactly is going wrong here.

Thanks,

Gabby

Thanks for the logs.

It looks like your missing a file:

[09:15:11] Error: ENOENT: no such file or directory, open ‘Apps/.jshintrc’

I downloaded and unzipped the latest release and I’m running into the same error. Thanks for bringing this to our attention, we’ll get this fixed ASAP. In the meantime, you can run npm start without building if you haven’t modified cesium at all. If you do need to modify Cesium code, try cloning the repo from GitHub.

Thanks!

Gabby