When running Sencha cmd 6.5, and I get the following error:
[ERR] C2001: Closure Compiler Error (Parse error. undefined label "f") -- compression-input:1:4095
How can I locate the code at compression-input:1:4095
?
This happens when I include a custom javascript file in app.json
using:
"js": [
{
"path": "app.js",
"bundle": true
},{
"path": "custom.js",
"includeInBundle": true
}
],
The error disapears when I remove the reference to custom.js
in app.json
.
If I interpret the error correctly, it means that closure compiler finds an error on line 1, character 4095 of the compression-input
. But the first line of custom.js
is not such long.
How can I locate the offending code ?
And by the way, what is an undefined label
in closure compiler ?