You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
There are multiple templates named 'leaderboard' #482
Sorry about that. The only thing I changed in 0.8.43 was the dependency on underscore to fix #481, and I don't see how that would cause this problem. It's commit c81598a.
Maybe meteor publish did something weird. In that case it wouldn't help to revert the change and publish again. Any ideas?
Weird. The leaderboard template is used in examples but they're not supposed to be part of the package. I published with a newer version of meteor than I've used in the past so maybe it included those files even though they're not listed in package.js. I haven't been keeping up with the changes to meteor.
Can confirm, same issue with multiple templates with one name. Switched back to 0.8.42, everything works fine. Maybe changes in build process.
EDIT Having no other ideas I tried replacing old api.add_files with api.addFiles etc (as suggested in docs). Without any success. For now I ended up with removing the whole examples dir.
@s7dhansh thought the same about eager loading, but what's the point of adding files explicitly then...
I think the leaderboard template is being compiled multiple times as it is not in imports directory. The new meteor version for packages would have become more in sync with the normal apps, by eagerly loading everything in non-imports.
Activity
aslagle commentedon Nov 20, 2017
Sorry about that. The only thing I changed in 0.8.43 was the dependency on underscore to fix #481, and I don't see how that would cause this problem. It's commit c81598a.
Maybe
meteor publishdid something weird. In that case it wouldn't help to revert the change and publish again. Any ideas?harrisonhunter commentedon Nov 20, 2017
I also saw this behavior and was unable to build render my application correctly because of issues with the leaderboard template:
https://www.dropbox.com/s/q59392gj6zzv6cf/Screenshot%202017-11-19%2023.04.18.png?dl=0
reverting made it work normally
aslagle commentedon Nov 20, 2017
Weird. The leaderboard template is used in examples but they're not supposed to be part of the package. I published with a newer version of meteor than I've used in the past so maybe it included those files even though they're not listed in package.js. I haven't been keeping up with the changes to meteor.
rmuratov commentedon Nov 20, 2017
Can confirm, same issue with multiple templates with one name. Switched back to 0.8.42, everything works fine. Maybe changes in build process.
EDIT Having no other ideas I tried replacing old
api.add_fileswithapi.addFilesetc (as suggested in docs). Without any success. For now I ended up with removing the wholeexamplesdir.@s7dhansh thought the same about eager loading, but what's the point of adding files explicitly then...
s7dhansh commentedon Nov 20, 2017
I think the
leaderboardtemplate is being compiled multiple times as it is not inimportsdirectory. The new meteor version for packages would have become more in sync with the normal apps, by eagerly loading everything in non-imports.aslagle commentedon Nov 20, 2017
I published 0.8.44 with an older version of meteor to see if it fixes the problem. I didn't make any other changes. Let me know if it works.
Republish. (#482)
s7dhansh commentedon Nov 20, 2017
Yes it does. The
meteor shellissue is also fixed.rmuratov commentedon Nov 20, 2017
Yes, that worked for me as well. Thanks!