ERROR - Circular dependency in the chain [gb/run.js, /gb/gb.js, /gb/msg/message_list.js] -> /gb/msg/message_list.js

44 views
Skip to first unread message

Ramesh S

unread,
Aug 8, 2011, 7:29:38 PM8/8/11
to relief-framework
I am following the steps for the guestbook app and it works fine till
I add message_list. Then I am also following the steps for passing
MessageList via ServiceProvider class. But I am getting this error
which I am unable to follow.

Circular dependency in the chain [gb/run.js, /gb/gb.js, /gb/msg/
message_list.js] -> /gb/msg/message_list.js

I double checked it and also restarted Plovr, just in case.

Thanks in advance

regards
Ramesh

Jay Young

unread,
Aug 8, 2011, 7:47:06 PM8/8/11
to relief-f...@googlegroups.com
Ah, found it.  On the Wiki page http://code.google.com/p/relief/wiki/First_AddingStuff, message_list.js goog.provide()'s and goog.require()'s "gb.msg.Message".  Remove the goog.provide() statement - that type is declared in message.js.  The wiki page has been updated.

Thanks for pointing it out.

Ramesh S

unread,
Aug 8, 2011, 8:12:45 PM8/8/11
to relief-framework
Thanks Jay for the quick response,

Sorry should have provided the link.
When I commented out "gb.msg.Message"
the compiler is shouting about the missing provider.
/gb/msg/message_list.js: ERROR - Missing provide for gb.msg.Message
in /gb/msg/message_list.js

By the way - After trying for such a short time I can already feel
Relief is an awesome job done and I think it will tremendously
increase productivity.

Thanks
Ramesh

On Aug 8, 6:47 pm, Jay Young <jayyoung9...@gmail.com> wrote:
> Ah, found it.  On the Wiki pagehttp://code.google.com/p/relief/wiki/First_AddingStuff, message_list.js

Jay Young

unread,
Aug 8, 2011, 8:29:44 PM8/8/11
to relief-f...@googlegroups.com
Ah hah.  The real issue is that I never actually included the gb.msg.Message tyepdef in the tutorial.  When I first wrote it, it was included in message_list.js, but I broke it out and forgot to update the Wiki.  http://code.google.com/p/relief/wiki/First_AddingStuff now includes the definition of gb.msg.Message.

Ramesh S

unread,
Aug 8, 2011, 8:45:44 PM8/8/11
to relief-framework
Thanks Jay.
I wasn't paying attention to that .



On Aug 8, 7:29 pm, Jay Young <jayyoung9...@gmail.com> wrote:
> Ah hah.  The real issue is that I never actually included the gb.msg.Message
> tyepdef in the tutorial.  When I first wrote it, it was included in
> message_list.js, but I broke it out and forgot to update the Wiki.  http://code.google.com/p/relief/wiki/First_AddingStuffnow includes the
> definition of gb.msg.Message.
Reply all
Reply to author
Forward
0 new messages