can't build cesium1.20 - using npm run build error comes back no .jshintrc


I was unable to get through npm run build with the cesium1.20 package.

After I used npm install and then npm run build

I came across this error:

Error: ENOENT: no such file or directory, open ‘.jshintrc’

If I just put a simple .jshintrc file in the home directory I got through the no .jshintrc error but saw the error of createjshint line 1131 of the associated gulpfile.js :

Error: ENOENT: no such file or directory, open ‘Apps/Sandcastle/.jshintrc’

So my question is what should I put as the .jshintrc file in those directories?

Many Thanks!



Thanks Victor! I’ve filed an issue on our github:

Meanwhile, you can grab the missing jshintrc files from our GitHub repo.

This one will go in the home directory:

This one needs to go in /Apps:

And this one needs to go in Apps/Sandcastle:



Thanks so much for the links Hannah!

Everything works now!

Best Regards,