tmeasday / meteor-router

MIT License
366 stars 76 forks source link

renderPage is failing without error -- not sure what happened #108

Closed jzellis closed 11 years ago

jzellis commented 11 years ago

I'm going insane here. I was attempting to install the package bootstrap-switch, which gives you iOS like checkboxes in Bootstrap. I followed the simple instruction on the Git page for the package: just use "mrt install bootstrap-switch". Which I did.

Except now, router isn't working. I mean, it's there if I do a console.log(Meteor.Router), I see it as an object, but the {{renderPage}} tag does absolutely nothing. I tried removing the {{#isolate}} tags, nothing. It just stopped working completely. The

where it's supposed to be rendered is empty.

I've tried everything at this point I can think of: deleting smart.json and smat.lock, deleting ~/.meteor and ~/.meteorite, doing an "mrt update", creating an entirely new test project and doing a simple template arrangement...nothing works. It's just failing. No errors are being shown client-side or server-side at all. None of the code in the project changed. None of the HTML changed. I just did "mrt install bootstrap-switch" and it hosed my whole project. Which I'm supposed to be going over with my boss tomorrow morning.

Any thoughts? Anybody? Maybe a list of directions for completely and utterly removing meteor, meteorite, and all of the packages from my system and then reinstalling them? I'm nearly weeping with frustration.

dancrowley303 commented 11 years ago

See issue https://github.com/tmeasday/meteor-router/issues/109 - your problem might be because of the change introduced in 0.5.2 - can you try going back to 0.5.1 in your smart.lock?

      "router": {
        "git": "https://github.com/tmeasday/meteor-router.git",
        "tag": "v0.5.1",
        "commit": "32e377c7703bb119acccc859fc7296882903cbe7"
      },
tmeasday commented 11 years ago

Yikes! Sorry about this! Fixed now..