Created
November 11, 2013 03:56
-
-
Save svallory/7407593 to your computer and use it in GitHub Desktop.
tsdoc error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exec error: Error: Command failed: js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 10: missing ; before statement | |
js: class Compiler | |
js: .............^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 12: missing ; before statement | |
js: public filePattern; | |
js: ...................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 14: missing ; before statement | |
js: private compiledModules = []; | |
js: ........................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 15: missing ; before statement | |
js: private current_pad = 0; | |
js: ....................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 16: missing ; before statement | |
js: private padSize = 3; | |
js: ................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 18: missing ) after argument list | |
js: constructor(public cwd: string) { | |
js: .......................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 19: syntax error | |
js: this.filePattern = /package.json|.*\.tsm/; | |
js: .......^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 19: illegal character | |
js: this.filePattern = /package.json|.*\.tsm/; | |
js: ......................................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 19: syntax error | |
js: this.filePattern = /package.json|.*\.tsm/; | |
js: .......................................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 20: syntax error | |
js: } | |
js: .^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 22: missing ) in parenthetical | |
js: findSubmodule(submoduleRef: string): string { | |
js: ............................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 24: syntax error | |
js: } | |
js: .^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 26: missing ) in parenthetical | |
js: compileSubModule(ref: ModuleRef, onError?: (error: string) => void) { | |
js: .......................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 27: syntax error | |
js: this.current_pad++; | |
js: .......^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 30: syntax error | |
js: } | |
js: .^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 32: missing ) in parenthetical | |
js: compile(tsmPath: string, onError?: (error: string) => void); | |
js: .................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 33: missing ) after argument list | |
js: compile(tsmRef: ModuleRef, onError?: (error: string) => void); | |
js: .................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 34: missing ) after argument list | |
js: compile(tsmConfig: ModuleConfig, modPath: string, onError?: (error: string) => void); | |
js: ....................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 35: missing ; before statement | |
js: compile() { | |
js: ...........^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 36: missing ; before statement | |
js: var tsmConfig : ModuleConfig, modPath: string, onError: (error: string) => void; | |
js: ........................................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 49: syntax error | |
js: tsmConfig = ModuleRef.factory(arguments[0]).load(); | |
js: ........................................................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 54: syntax error | |
js: onError = onError || () => void {}; | |
js: ..........................^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 97: invalid return | |
js: return this.compiledModules; | |
js: ........^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 98: syntax error | |
js: } | |
js: .^ | |
js: "/projects/theblacksmith/tsm/lib/tsm/compiler.ts", line 105: missing ) after formal parameters | |
js: function log(msg: string, padTimes?: number) { | |
js: .................^ | |
org.mozilla.javascript.EvaluatorException: Compilation produced 25 syntax errors. (/projects/theblacksmith/tsm/lib/tsm/compiler.ts#1) | |
at org.mozilla.javascript.tools.ToolErrorReporter.runtimeError(ToolErrorReporter.java:144) | |
at org.mozilla.javascript.Parser.parse(Parser.java:596) | |
at org.mozilla.javascript.Parser.parse(Parser.java:505) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | |
at java.lang.reflect.Method.invoke(Method.java:597) | |
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161) | |
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247) | |
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86) | |
at org.mozilla.javascript.gen.file__usr_local_lib_node_modules_jsdoc_lib_jsdoc_src_parser_js_15._c_anonymous_22(Unknown Source) | |
at org.mozilla.javascript.gen.file__usr_local_lib_node_modules_jsdoc_lib_jsdoc_src_parser_js_15.call(Unknown Source) | |
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76) | |
at org.mozilla.javascript.gen.file__usr_local_lib_node_modules_jsdoc_lib_jsdoc_src_parser_js_15._c_anonymous_2(Unknown Source) | |
at org.mozilla.javascript.gen.file__usr_local_lib_node_modules_jsdoc_lib_jsdoc_src_parser_js_15.call(Unknown Source) | |
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76) | |
at org.mozilla.javascript.gen._usr_local_lib_node_modules_jsdoc_jsdoc_js_1._c_main_3(Unknown Source) | |
at org.mozilla.javascript.gen._usr_local_lib_node_modules_jsdoc_jsdoc_js_1.call(Unknown Source) | |
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108) | |
at org.mozilla.javascript.gen._usr_local_lib_node_modules_jsdoc_jsdoc_js_1._c_script_0(Unknown Source) | |
at org.mozilla.javascript.gen._usr_local_lib_node_modules_jsdoc_jsdoc_js_1.call(Unknown Source) | |
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426) | |
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178) | |
at org.mozilla.javascript.gen._usr_local_lib_node_modules_jsdoc_jsdoc_js_1.call(Unknown Source) | |
at org.mozilla.javascript.gen._usr_local_lib_node_modules_jsdoc_jsdoc_js_1.exec(Unknown Source) | |
at org.mozilla.javascript.tools.shell.Main.evaluateScript(Main.java:654) | |
at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:552) | |
at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:507) | |
at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:499) | |
at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:215) | |
at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:134) | |
at org.mozilla.javascript.Context.call(Context.java:521) | |
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:535) | |
at org.mozilla.javascript.tools.shell.Main.exec(Main.java:198) | |
at org.mozilla.javascript.tools.shell.Main.main(Main.java:174) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment