I am working with EXTJS6 and sencha cmd 6.1.2. I am trying to run the sencha app build on my application and getting below exception for which I do not have any clue.
[ERR] C2000: Rhino Parse Error (missing ] after element list => MyApplication.view.testPack,) -- unknown-uri:81:59
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild: failed optimizing C:\git2\xx...{MyapplicationName}
[ERR] at com.sencha.tools.compiler.ast.AstUtil.parse(AstU
[ERR] til.java:70)
[ERR]
[ERR] Total time: 15 seconds
[ERR] The following error occurred while executing this line:
I manually removed some errors resulted due to '&' in the object key as the compiler does not like it. But for this error I dont have clue. Specifically, the error command does not tell me which file the error has resulted from?
**`[ERR] C2000: Rhino Parse Error (missing ] after element list => MyApplication.view.testPack,) -- unknown-uri:81:59`**
Has any one faced similar issue or any pointers pls?
MyApplication.view.testPack
, which has a syntax error that exhibits in line 81, character 59. Syntax errors are the easiest-to-find error you can have. Every browser should give you a syntax error in that line whenever you load that JS file. – Alexander