Select to view content in your preferred language

Esri API 3.13 Dojo Build Errors

3847
2
Jump to solution
05-01-2015 11:23 AM
roemhildtg
Frequent Contributor

I've been trying to learn how to use the dojo toolkit to produce a single compiled javascript file of the application we have been working on. The application consists of primarily dojo and esri widgets.

To compile the project, I have downloaded the dojo boilerplate and added the esri package next to the dojo toolkit, I have the following directory structure:

-dist
-profiles
-src
----app
----dgrid
----dojo
----esri
----...
----index.html
-build.sh

Without requiring any of the dojo modules and simpy building the app with build.sh, the output compressed dist/dojo/dojo.js is build successfully and the index.html loads the app as expected.

After adding my custom application codes/widgets/etc to the app folder and verifying the unbuilt application runs as expected, I run the build.sh again. It throws a ton of errors on the esri api, and a couple of additional ones for a proj4 library.

If anyone has experience with building the esri apps with the dojo toolkit, please provide your advice, it is much appreciated.

Here's my profile in profiles/app.profile.js:

packages: [
    // Using a string as a package is shorthand for `{ name: 'app', location: 'app' }`
    'app',
    'dgrid',
    'dijit',
    'dojo',
    'dojox', {
        name: 'put-selector',
        location: 'put-selector',
        main: 'put'
    },
    'xstyle',
    'esri'
],
// Strips all calls to console functions within the code. You can also set this to "warn" to strip everything
// but console.error, and any other truthy value to strip everything but console.warn and console.error.
// This defaults to "normal" (strip all but warn and error) if not provided.
stripConsole: 'all',
// The default selector engine is not included by default in a dojo.js build in order to make mobile builds
// smaller. We add it back here to avoid that extra HTTP request. There is also an "acme" selector available; if
// you use that, you will need to set the `selectorEngine` property in index.html, too.
selectorEngine: 'lite',
// Any module in an application can be converted into a "layer" module, which consists of the original module +
// additional dependencies built into the same file. Using layers allows applications to reduce the number of HTTP
// requests by combining all JavaScript into a single file.
layers: {
    // This is the main loader module. It is a little special because it is treated like an AMD module even though
    // it is actually just plain JavaScript. There is some extra magic in the build system specifically for this
    // module ID.
    "dojo/dojo": {
        include: [
        "dojo/dojo",
            "app/main"
        ],
        customBase: true,
        boot: true
    },
},

dojoConfig in src/index.html:

packages: [
                // Using a string as a package is shorthand for `{ name: 'app', location: 'app' }`
                'app',
                'dgrid',
                'dijit',
                'dojo',
                'dojox',
                'put-selector',
                'xstyle',
               'esri',
               { name: 'proj4', location: '//cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.3/' }
            ],
            // Use the smaller, faster "lite" CSS selector engine, which works in all browsers IE8+
            selectorEngine: 'lite',
            // Fix the loader to use normal AMD resolution of unregistered module paths (relative to `baseUrl`)
            // instead of the legacy Dojo resolution method (relative to the parent directory of `baseUrl`)
            tlmSiblingOfDojo: false
        };

error(311) Missing dependency.
    module: app/widgets/MapInfo; dependency: proj4/proj4
    module: app/widgets/StreetView; dependency: proj4/proj4
error(352) Optimizer reported errors; consult build report for details.
    
error(354) Root bundle indicates localized bundles that don't exist.
    Root: esri/dijit/editing/nls/Editor-all_ar; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_az; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_ca; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_cs; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_da; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_de-de; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_el; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_en-gb; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_en-us; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_es-es; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_fi-fi; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_fr-fr; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_he-il; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_hu; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_it-it; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_ja-jp; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_ko-kr; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_nb; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_nl-nl; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_pl; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_pt-br; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_pt-pt; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_ro; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_ROOT; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_ru; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_sk; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_sl; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_sv; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_th; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_tr; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_zh-cn; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor-all_zh-tw; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_ar; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_az; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_ca; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_cs; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_da; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_de-de; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_el; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_en-gb; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_en-us; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_es-es; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_fi-fi; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_fr-fr; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_he-il; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_hu; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_it-it; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_ja-jp; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_ko-kr; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_nb; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_nl-nl; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_pl; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_pt-br; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_pt-pt; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_ro; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_ROOT; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_ru; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_sk; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_sl; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_sv; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_th; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_tr; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_zh-cn; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/editing/nls/Editor_zh-tw; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_ar; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_az; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_ca; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_cs; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_da; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_de-de; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_el; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_en-gb; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_en-us; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_es-es; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_fi-fi; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_fr-fr; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_he-il; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_hu; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_it-it; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_ja-jp; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_ko-kr; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_nb; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_nl-nl; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_pl; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_pt-br; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_pt-pt; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_ro; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_ROOT; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_ru; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_sk; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_sl; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_sv; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_th; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_tr; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_zh-cn; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/dijit/nls/AttributeInspector-all_zh-tw; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/jsapi_ar; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_az; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_ca; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_cs; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_da; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_de-de; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_el; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_en-gb; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_en-us; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_es-es; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_fi-fi; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_fr-fr; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_he-il; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_hu; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_it-it; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_ja-jp; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_ko-kr; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_nb; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_nl-nl; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_pl; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_pt-br; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_pt-pt; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_ro; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_ROOT; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_ru; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_sk; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_sl; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_sv; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_th; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_tr; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_zh-cn; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/jsapi_zh-tw; missing bundles: 'dijit/form/nls/validate','dijit/nls/common','dijit/nls/loading','dojo/cldr/nls/gregorian','dojo/cldr/nls/number','esri/nls/jsapi'.
    Root: esri/nls/widgets_ar; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_az; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_ca; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_cs; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_da; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_de-de; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_el; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_en-gb; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_en-us; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_es-es; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_fi-fi; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_fr-fr; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_he-il; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_hu; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_it-it; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_ja-jp; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_ko-kr; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_nb; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_nl-nl; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_pl; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_pt-br; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_pt-pt; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_ro; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_ROOT; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_ru; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_sk; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_sl; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_sv; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_th; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_tr; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_zh-cn; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
    Root: esri/nls/widgets_zh-tw; missing bundles: 'dijit/_editor/nls/commands','dijit/form/nls/ComboBox','dojo/cldr/nls/islamic'.
0 Kudos
1 Solution

Accepted Solutions
roemhildtg
Frequent Contributor

I've solved the problem, and I figured I should update the original issue.

The problem that was causing the errors int he dojo build system is the esri api is already built into a dojo layer, and therefore cannot be used directly with the build system.

There is however a somewhat hidden version of the esri api that isn't built into a layer yet. Using esrislurp, I was able to obtain this package and then proceed to use the build system to create a single optimized layer.

View solution in original post

2 Replies
roemhildtg
Frequent Contributor

I've solved the problem, and I figured I should update the original issue.

The problem that was causing the errors int he dojo build system is the esri api is already built into a dojo layer, and therefore cannot be used directly with the build system.

There is however a somewhat hidden version of the esri api that isn't built into a layer yet. Using esrislurp, I was able to obtain this package and then proceed to use the build system to create a single optimized layer.