I am trying to get my namespace compile into a standalone .js file. Here is what I am currently using
python static/js/closure/bin/build/closurebuilder.py \
--root static/js/closure \
--root static/js/herman \
--namespace "herman" \
--output_mode compiled \
--compiler_jar ~/projects/goog/closure/closure-compiler/build/compiler.jar \
--compiler_flags="--compilation_level=ADVANCED_OPTIMIZATIONS" \
> static/js/herman-compiled.js
static/js/closure/bin/build/closurebuilder.py: Scanning paths...
static/js/closure/bin/build/closurebuilder.py: 648 sources scanned.
static/js/closure/bin/build/closurebuilder.py: Building dependency tree..
Traceback (most recent call last):
File "static/js/closure/bin/build/closurebuilder.py", line 256, in <module>
main()
File "static/js/closure/bin/build/closurebuilder.py", line 203, in main
tree = depstree.DepsTree(sources)
File "/Users/seth/projects/buntin/herman/static/js/closure/bin/build/depstree.py", line 56, in __init__
raise NamespaceNotFoundError(require, source)
depstree.NamespaceNotFoundError: Namespace "goog.async.Deferred" never provided. Required in Source static/js/closure/goog/messaging/deferredchannel.js
I can't seem to figure out what is happening. Can anyone help?