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

Hi,

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!

Best,

Victor

Thanks Victor! I’ve filed an issue on our github: https://github.com/AnalyticalGraphicsInc/cesium/issues/3911

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

This one will go in the home directory: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/.jshintrc

This one needs to go in /Apps: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Apps/.jshintrc

And this one needs to go in Apps/Sandcastle: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Apps/Sandcastle/.jshintrc

Best,

Hannah

Thanks so much for the links Hannah!

Everything works now!

Best Regards,

Victor