mystor / meteor-routecore

Client and server side rendering/routing powered by React
84 stars 6 forks source link

Running the todomvc demo. #21

Closed trusktr closed 9 years ago

trusktr commented 9 years ago

I tried cloning the todomvc repo, switch to the routecore branch, went into the routecore demo folder, then

 ❯❯❯ meteor                                                                                          [20:53:26]
[[[[[ ~/test/todomvc/labs/architecture-examples/meteor-routecore ]]]]]

=> Started proxy.
=> Meteor 1.0.1 is available. Update this project with 'meteor update'.
=> Started MongoDB.
=> Errors prevented startup:

While building the application:
error: no such package: 'routecore'

=> Your application has errors. Waiting for file change.
^C
>>> elapsed time 1m59s

 ❯❯❯ meteor update                                                                                   [20:55:28]
This project is at the latest release which is compatible with your
current package constraints.

/Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.browser+web.cordova/meteor-to
ol-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173
                                                throw(ex);
                                                      ^
Error: unknown package: routecore
    at throwConstraintSolverError (packages/constraint-solver/resolver.js:246)
    at ConstraintSolver.Resolver.resolve (packages/constraint-solver/resolver.js:193)
    at ConstraintSolver.PackagesResolver.resolve (packages/constraint-solver/constraint-solver.js:263)
    at /Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.browser+web.cordova/me
teor-tool-os.osx.x86_64/tools/catalog.js:327:32
    at /Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.browser+web.cordova/me
teor-tool-os.osx.x86_64/tools/buildmessage.js:338:18
    at _.extend.withValue (/Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.br
owser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
    at /Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.browser+web.cordova/me
teor-tool-os.osx.x86_64/tools/buildmessage.js:331:34
    at _.extend.withValue (/Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.br
owser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
    at /Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.browser+web.cordova/me
teor-tool-os.osx.x86_64/tools/buildmessage.js:329:23
    at _.extend.withValue (/Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.br
owser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
    at Object.enterJob (/Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.brows
er+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:303:26)
    at _.extend.resolveConstraints (/Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_
64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/catalog.js:320:30)
    at /Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.browser+web.cordova/me
teor-tool-os.osx.x86_64/tools/commands-packages.js:1965:36
    at /Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.browser+web.cordova/me
teor-tool-os.osx.x86_64/tools/buildmessage.js:250:13
    at _.extend.withValue (/Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.br
owser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
    at /Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.browser+web.cordova/me
teor-tool-os.osx.x86_64/tools/buildmessage.js:243:29
    at _.extend.withValue (/Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.br
owser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
    at /Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.browser+web.cordova/me
teor-tool-os.osx.x86_64/tools/buildmessage.js:241:18
    at _.extend.withValue (/Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.br
owser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
    at /Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.browser+web.cordova/me
teor-tool-os.osx.x86_64/tools/buildmessage.js:232:23
    at _.extend.withValue (/Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.br
owser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
    at Object.capture (/Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.browse
r+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:231:19)
    at main.registerCommand.name [as func] (/Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.
osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/commands-packages.js:1964:31)
    at /Users/josephpea/.meteor/packages/meteor-tool/.1.0.36.1jn84sd++os.osx.x86_64+web.browser+web.cordova/me
teor-tool-os.osx.x86_64/tools/main.js:1353:23

Any ideas on what to do? The README still is using mrt. xD

mystor commented 9 years ago

Yeah, sorry. I haven't had a chance to update the todomvc app since the switch to using the built-in meteor package manager. Everything should work correctly if you clean up the packages file, and use mystor:routecore instead of routecore. If you fix it up & get it working, a pull request would be awesome :).

trusktr commented 9 years ago

I also get

 ❯ meteor add mystor:routecore                                                                     [20:57:18]
mystor:routecore: no such package

If I start a new project I can meteor add mystor:routecore just fine.

trusktr commented 9 years ago

Oh ok, let me try that.

mystor commented 9 years ago

Yeah, re the meteor add mystor:routecore, try meteor update-ing, so that you have the latest version.

trusktr commented 9 years ago

I tried that too which resulted in that long error above. Let me see if I can delete .meteor and start over.

trusktr commented 9 years ago

Is bower install required?

trusktr commented 9 years ago

K cool, got it working.

trusktr commented 9 years ago

Should we keep bower.json and .bowerrc considering that todomvc-common is already installed in client/bower_components and checked into git?

mystor commented 9 years ago

I'm pretty sure that the bower stuff is from todomvc & standard. I'd just leave it in 'cause I see no reason not to.