标签:director scope erro nbsp OLE 添加 free sub open
1.npm run build
如果出现错误:[11:21:32] Error: ENOENT: no such file or directory, open ‘D:\WWW\gis\Cesium\Apps\.jshintrc‘
解决方法:在Apps中添加文件.jshintrc,在Apps/Sandcastle中添加文件.jshintrc。
Apps/.jshintrc
{ "bitwise": false, "camelcase": false, "curly": true, "eqeqeq": true, "forin": true, "freeze": true, "immed": true, "latedef": false, "newcap": true, "noarg": true, "noempty": true, "nonbsp": true, "nonew": true, "plusplus": false, "quotmark": false, "undef": true, "unused": "vars", "strict": true, "asi": false, "boss": false, "debug": false, "eqnull": false, "esnext": false, "moz": false, "evil": false, "expr": false, "funcscope": false, "globalstrict": false, "iterator": false, "lastsemic": false, "laxbreak": false, "laxcomma": false, "loopfunc": false, "multistr": true, "noyield": false, "notypeof": false, "proto": false, "scripturl": false, "shadow": false, "sub": false, "supernew": false, "validthis": false, "browser": true, "browserify": false, "couch": false, "devel": true, "dojo": false, "jasmine": false, "jquery": false, "mocha": true, "mootools": false, "node": false, "nonstandard": false, "prototypejs": false, "qunit": false, "rhino": false, "shelljs": false, "worker": false, "wsh": false, "yui": false }
Apps/Sandcastle/.jshintrc
{ "extends": "../.jshintrc", "unused": false, "predef": [ "JSON", "require", "console", "Sandcastle", "Cesium" ] }
2.npm run minifyRelease
3.npm run minify
4.npm run combineRelease
5.npm run release
标签:director scope erro nbsp OLE 添加 free sub open
原文地址:https://www.cnblogs.com/pumpkin-123/p/12152977.html