You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 8, 2019. It is now read-only.
jbeard@jbeard-VirtualBox:~/tmp$ mkdir test-nclosure
jbeard@jbeard-VirtualBox:~/tmp$ cd test-nclosure/
jbeard@jbeard-VirtualBox:~/tmp/test-nclosure$ vim test.js
jbeard@jbeard-VirtualBox:~/tmp/test-nclosure$ nccompile.js -c test.js
path.existsSync is now called `fs.existsSync`.
The -c [compile] flag is not fully operational yet. Please use cauting when running .min.js files as they are not yet fully compatible with Node's require(...) syntaxt.Error in command:/home/jbeard/workspace/projects/nclosure/third_party/closure-library/closure/bin/build/closurebuilder.py --root=/home/jbeard/tmp/test-nclosure --root=/home/jbeard/workspace/projects/nclosure/lib --root=/home/jbeard/workspace/projects/nclosure/third_party/closure-library --input=test.tmp.js --output_mode=compiled --compiler_jar=/home/jbeard/workspace/projects/nclosure/third_party/ignoregoogcompiler.jar --compiler_flags=--js=/home/jbeard/workspace/projects/nclosure/third_party/closure-library/closure/goog/deps.js --compiler_flags=--externs=/home/jbeard/workspace/projects/nclosure/lib/externs.js --compiler_flags=--compilation_level=ADVANCED_OPTIMIZATIONS --compiler_flags=--output_wrapper="(function() {this.window=this;%output%})();" --compiler_flags=--debug=true --compiler_flags=--process_closure_primitives=true --compiler_flags=--warning_level=VERBOSE --compiler_flags=--jscomp_warning=accessControls --compiler_flags=--jscomp_warning=checkRegExp --compiler_flags=--jscomp_warning=checkTypes --compiler_flags=--jscomp_warning=checkVars --compiler_flags=--jscomp_warning=deprecated --compiler_flags=--jscomp_warning=fileoverviewTags --compiler_flags=--jscomp_warning=invalidCasts --compiler_flags=--jscomp_warning=missingProperties --compiler_flags=--jscomp_warning=nonStandardJsDocs --compiler_flags=--jscomp_warning=strictModuleDepCheck --compiler_flags=--jscomp_warning=undefinedVars --compiler_flags=--jscomp_warning=unknownDefines --compiler_flags=--summary_detail_level=3Error: Command failed: /home/jbeard/workspace/projects/nclosure/third_party/closure-library/closure/bin/build/closurebuilder.py: Scanning paths.../home/jbeard/workspace/projects/nclosure/third_party/closure-library/closure/bin/build/closurebuilder.py: 778 sources scanned./home/jbeard/workspace/projects/nclosure/third_party/closure-library/closure/bin/build/closurebuilder.py: Building dependency tree../home/jbeard/workspace/projects/nclosure/third_party/closure-library/closure/bin/build/closurebuilder.py: No namespaces found. At least one namespace must be specified with the --namespace or --input flags. at ChildProcess.exithandler (child_process.js:540:15) at ChildProcess.EventEmitter.emit (events.js:96:17) at maybeClose (child_process.js:638:16) at Process._handle.onexit (child_process.js:680:5)/home/jbeard/workspace/projects/nclosure/third_party/closure-library/closure/bin/build/closurebuilder.py: Scanning paths.../home/jbeard/workspace/projects/nclosure/third_party/closure-library/closure/bin/build/closurebuilder.py: 778 sources scanned./home/jbeard/workspace/projects/nclosure/third_party/closure-library/closure/bin/build/closurebuilder.py: Building dependency tree../home/jbeard/workspace/projects/nclosure/third_party/closure-library/closure/bin/build/closurebuilder.py: No namespaces found. At least one namespace must be specified with the --namespace or --input flags.
I've installed nclosure from git:
Here's the compilation trace:
Here is the contents of test.js: