将Extjs 5.0.1更新为6.2.1时出错(com.sencha.exceptions.ExParse:处理myApp/app/controller/Main.js的引用失败

将Extjs 5.0.1更新为6.2.1时出错(com.sencha.exceptions.ExParse:处理myApp/app/controller/Main.js的引用失败,extjs,sencha-cmd,Extjs,Sencha Cmd,将Extjs 5.0.1更新为6.2.1时出错,将现有项目更新为6.2.1,但出错 (com.sencha.exceptions.ExParse:处理myApp/app/controller/Main.js的引用失败 [ERR] [ERR] BUILD FAILED [ERR] com.sencha.exceptions.ExParse: Failed processing references for /MyApp/app/controller/Main.js [ERR] at com.

将Extjs 5.0.1更新为6.2.1时出错,将现有项目更新为6.2.1,但出错

(com.sencha.exceptions.ExParse:处理myApp/app/controller/Main.js的引用失败

[ERR] 
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExParse: Failed processing references for /MyApp/app/controller/Main.js
[ERR]   at com.sencha.tools.compiler.sources.Insta
[ERR] nceConfigReferenceProcessor.processInstanceConfig(InstanceConfigReferenceProcessor.java:155)
[ERR] 
[ERR] Total time: 19 seconds
[ERR] The following error occurred while executing this line:
/MyApp/.sencha/app/build-impl.xml:380: The following error occurred while executing this line:
/MyApp/.sencha/app/init-impl.xml:384: com.sencha.exceptions.ExParse: Failed processing references for /MyApp/app/controller/Main.js
我正在使用CMD 6.2.1.29

有人能帮我吗


Main.js在这里

在我的例子中,我已经修复了它,将视图中的空字符串“”替换为一个空格字符串“”


来源:

你能粘贴Main.js文件的内容吗?它的大文件你想让我粘贴在这里吗?是的,请给出这个文件的内容/MyApp/app/controller/Main。js@Tejas1991i更新main.jsfiddle linki修复了此问题,谢谢