objecthub-io / ObjectHub

ObjectHub is an open repository for software objects and a development platform.
2 stars 1 forks source link

object with dependencies not publishing properly #256

Closed pranav-singhal closed 7 years ago

pranav-singhal commented 7 years ago

I tried to add a dependency from the repo into my object and publish it It seems to be working fine when I preview it in my browser but throws some js error when I access it from the repo Here's a screen shot from when I preview it from the repo

screen shot 2017-07-01 at 2 54 31 pm

Here's what it looks like in my IDE(Its working fine here)

screen shot 2017-07-01 at 2 54 52 pm

From what I can tell, it is probably because I added a dependency from the forked version of an object from the repo.

objecthub-io commented 7 years ago

Thank you for reporting this issue!

From the error message it looks like that a public viewer (which the repo is) does not have access to one of the dependencies (so it is not public). Dependencies can be made public by releasing them to the repo. Please note that just releasing the dependency to the repo is not enough so currently. You will also need to replace the dependency in the app with one of the released versions of the dependency on the repo (see the object on the repo & then pin it). Hope this helps!

objecthub-io commented 7 years ago

Was this problem resolved for you?

pranav-singhal commented 7 years ago

yes and thanks for the help!

objecthub-io commented 7 years ago

Thank you, closing this issue now!