tmeasday / meteor-router

MIT License
366 stars 76 forks source link

problem installing meteor-router #81

Open guaka opened 11 years ago

guaka commented 11 years ago
$ mrt add router

Installing Meteor

  branch: https://github.com/meteor/meteor.git#master

Installing smart packages

And then it's stuck for a long time, and router is not added to .meteor/packages. If I manually add router to .meteor/packages it's doing this:

$ mrt

Stand back while Meteorite does it's thing

Installing Meteor

  branch: https://github.com/meteor/meteor.git#master

Installing smart packages

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

=> Running Meteor from a checkout -- overrides project version (0.6.3.1)

[[[[[ ~/code/freepictures.cc ]]]]]

=> Errors prevented startup:
Exception while bundling application:
Error: Package not found: router
    at self.api.use (/Users/guaka/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/bundler.js:113:17)
    at Array.forEach (native)
    at Function._.each._.forEach (/Users/guaka/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
    at Object.self.api.use (/Users/guaka/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/bundler.js:110:9)
    at _.extend.init_from_app_dir [as on_use_handler] (/Users/guaka/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/packages.js:238:11)
    at _.extend.use (/Users/guaka/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/bundler.js:464:11)
    at Object.exports.bundle (/Users/guaka/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/bundler.js:873:12)
    at /Users/guaka/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/run.js:694:26
    at exports.inFiber (/Users/guaka/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/fiber-helpers.js:24:12)
=> Your application is crashing. Waiting for file change.

The code is at https://github.com/guaka/freepictures.cc

sylvaingi commented 11 years ago

With a fresh clone of your repo everything works as expected.

But you mentioned the command mrt add router took a long time, maybe something went wrong on Atmosphere, it only took me a few seconds to retrieve the Router package.

You should empty your .meteor folder and run meteorite again.

andreioprisan commented 11 years ago

If that doesn't work, you can do a meteor reset and mrt add router again