jeudi 27 mars 2014

"C1009: Circular reference in requirements chain" -How to fix it?

Hi.



I'm posting here because I think that the problem I'm suffering is caused by the lack of some (hidden) config file.



I have an application I crafted with Sencha Architect 3.0.x which I copied from one machine to another but such app isn't inside workspace, doesn't has the sdk neither .sencha folder.



I want to "compile" the application so I created a symbolic link to sdk files named ext then ran the command:




Code:



sencha compile --classpath=ext/src,ext/examples/ux,app page -in app.html -out app1.html


But I got this:




Code:



[WRN] C1009: Circular reference in requirements chain (

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/AbstractComponent.js (line 29) [ClassRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/ComponentQuery.js (line 360) [ClassRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/ComponentManager.js (line 34) [ClassExtend] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/AbstractManager.js (line 25) [ClassRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/util/HashMap.js (line 38) [ClassMixin] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/util/Observable.js (line 89) [ClassRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/util/Event.js (line 33) [ClassRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/util/DelayedTask.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/Support.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/perf/Monitor.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/perf/Accumulator.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/util/TaskManager.js (line 37) [ClassExtend] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/util/TaskRunner.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/util/Format.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/Ext-more.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/misc/JSON.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/lang/Error.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/class/Loader.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/class/ClassManager.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/class/Class.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/class/Base.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/lang/Date.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/lang/Object.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/lang/Function.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/lang/Array.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/lang/Number.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/lang/String.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/version/Version.js (line 19) [DirectiveFileRequire] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/Ext.js (line 25) [StaticReference] ->

/home/ssamayoa/bin/Sencha/Complete/1.0.4.1/ext-4.2.2.1144/src/Ext-more.js

) -- unknown-file:-1



As you may see the error is reported on sdk files. Some posts replies suggested that the problem is in user code but in this case the problem lays in the sdk itself.



I created another SA project and compile there and worked even without telling where the sdk is. So definitely there is/are some missing file(s) from failing project but I have no clue how to fix.



Some help here please.



Regards.




Aucun commentaire:

Enregistrer un commentaire