iron-meteor / iron-router

A client and server side router designed specifically for Meteor.
MIT License
1.98k stars 412 forks source link

Errors building iron-router #775

Closed peterennis closed 10 years ago

peterennis commented 10 years ago

Windows 8.1 (32 bit) Node v0.10.30 I have been through the hoop jumping to get packages installed on Windows. Help appreciated. Remaining build error is this:

C:\ae\aembp>meteor [[[[[ C:\ae\aembp ]]]]]

=> Started proxy. => Started MongoDB. => Errors prevented startup:

While building package iron-router: error: no such package: 'reactive-dict@1.0.0' error: no such package: 'deps@1.0.0' error: no such package: 'underscore@1.0.0' error: no such package: 'ejson@1.0.0' error: no such package: 'jquery@1.0.0' error: no such package: 'ui@1.0.0' error: no such package: 'iron' error: no such package: 'cmather' error: no such package: 'webapp@1.0.0'

=> Your application has errors. Waiting for file change.

JeremySaks commented 10 years ago

I'm receiving the same messages after upgrading to 0.9.1.

dcsan commented 10 years ago

I'm getting same error, after updating IR to 0.9.1 I also tried with the IR devel branch, but same error.

on mac osX. meteor is latest 0.8.3 app> node --version v0.10.26

so it seems tags 0.9.0 and 0.9.1 are broken for me, but 0.8.x is OK is the 0.9 set require a node upgrade or some other environment dependency?

cmather commented 10 years ago

Meteor 0.9.0 release candidate. Sorry this was an unusual release in that it's intended for a meteor release that hasn't gone out yet. So you can either use the new meteor release candidate or stick with 0.8.3 until Meteor 0.9 comes out.

On Aug 18, 2014, at 5:07 PM, dc notifications@github.com wrote:

I'm getting same error, after updating IR to 0.9.1 I also tried with the IR devel branch, but same error.

on mac osX. meteor is latest 0.8.3 app> node --version v0.10.26

so it seems tags 0.9.0 and 0.9.1 are broken for me, but 0.8.x is OK is the 0.9 set require a node upgrade or some other environment dependency?

error state

app> git diff diff --git a/app/smart.json b/app/smart.json index 86a5bd1..f5afa7e 100644 --- a/app/smart.json +++ b/app/smart.json @@ -5,7 +5,10 @@ "iron-router": {}, "subs-manager": {}, "collection-helpers": {},

Stand back while Meteorite does its thing ✓ iron-router branch: https://github.com/EventedMind/iron-router#devel ✓ spin tag: https://github.com/SachaG/meteor-spin.git#v2.0.4 ✓ jade tag: https://github.com/mquandalle/meteor-jade.git#v0.2.6 ✓ subs-manager tag: https://github.com/meteorhacks/subs-manager.git#v1.0.2 ✓ collection-helpers tag: https://github.com/dburles/meteor-collection-helpers.git#v0.3.1 ✓ npm tag: https://github.com/arunoda/meteor-npm.git#v0.2.6 ✓ meteor-markdown tag: https://github.com/yubozhao/meteor-markdown.git#v0.0.3 ✓ bootstrap-3 tag: https://github.com/mangasocial/meteor-bootstrap-3.git#v3.2.0-1 ✓ iron-layout tag: https://github.com/EventedMind/iron-layout.git#v0.2.0 ✓ blaze-layout tag: https://github.com/EventedMind/blaze-layout.git#v0.2.5 ✓ iron-core tag: https://github.com/EventedMind/iron-core.git#v0.2.0 ✓ iron-dynamic-template tag: https://github.com/EventedMind/iron-dynamic-template.git#v0.2.1

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

[[[[[ ~/dev/shumi/redes/app ]]]]]

=> Started proxy. => Started MongoDB.
Warning: missing space before text for line 11 of jade file "client/boards/board.jade" Warning: missing space before text for line 26 of jade file "client/lessons/LessonsOne.jade" => Errors prevented startup:

While building package iron-router: error: no such package: 'reactive-dict@1.0.0' error: no such package: 'deps@1.0.0' error: no such package: 'underscore@1.0.0' error: no such package: 'ejson@1.0.0' error: no such package: 'jquery@1.0.0' error: no such package: 'ui@1.0.0' error: no such package: 'iron' error: no such package: 'cmather' error: no such package: 'webapp@1.0.0'

=> Your application has errors. Waiting for file change. ^C% app> git co . app> rm smart.lock app> mrt

Stand back while Meteorite does its thing ✓ spin tag: https://github.com/SachaG/meteor-spin.git#v2.0.4 ✓ jade tag: https://github.com/mquandalle/meteor-jade.git#v0.2.6 ✓ iron-router tag: https://github.com/EventedMind/iron-router.git#v0.9.1 ✓ subs-manager tag: https://github.com/meteorhacks/subs-manager.git#v1.0.2 ✓ collection-helpers tag: https://github.com/dburles/meteor-collection-helpers.git#v0.3.1 ✓ iron-router-ga tag: https://github.com/reywood/meteor-iron-router-ga.git#v0.2.5 ✓ npm tag: https://github.com/arunoda/meteor-npm.git#v0.2.6 ✓ meteor-markdown tag: https://github.com/yubozhao/meteor-markdown.git#v0.0.3 ✓ bootstrap-3 tag: https://github.com/mangasocial/meteor-bootstrap-3.git#v3.2.0-1 ✓ iron-layout tag: https://github.com/EventedMind/iron-layout.git#v0.2.0 ✓ blaze-layout tag: https://github.com/EventedMind/blaze-layout.git#v0.2.5 ✓ iron-core tag: https://github.com/EventedMind/iron-core.git#v0.2.0 ✓ iron-dynamic-template tag: https://github.com/EventedMind/iron-dynamic-template.git#v0.2.1

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

[[[[[ ~/dev/shumi/redes/app ]]]]]

=> Started proxy. => Started MongoDB.
Warning: missing space before text for line 11 of jade file "client/boards/board.jade" Warning: missing space before text for line 26 of jade file "client/lessons/LessonsOne.jade" => Errors prevented startup:

While building package iron-router: error: no such package: 'reactive-dict@1.0.0' error: no such package: 'deps@1.0.0' error: no such package: 'underscore@1.0.0' error: no such package: 'ejson@1.0.0' error: no such package: 'jquery@1.0.0' error: no such package: 'ui@1.0.0' error: no such package: 'iron' error: no such package: 'cmather' error: no such package: 'webapp@1.0.0'

=> Your application has errors. Waiting for file change. ^C% app> gst On branch master Your branch is up-to-date with 'origin/master'.

Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory)

modified:   smart.lock

no changes added to commit (use "git add" and/or "git commit -a") app> git diff diff --git a/app/smart.lock b/app/smart.lock index 8b432ff..9c66848 100644 --- a/app/smart.lock +++ b/app/smart.lock @@ -25,8 +25,8 @@ }, "iron-router": { "git": "https://github.com/EventedMind/iron-router.git",

  • "tag": "v0.8.2",
  • "commit": "05415a8891ea87a00fb1e2388585f2ca5a38e0da"
  • "tag": "v0.9.1",
  • "commit": "9a0e90952d4cb9d3a15451477699ce3e21d4fa73" }, "subs-manager": { "git": "https://github.com/meteorhacks/subs-manager.git", app> rm smart.lock app> git checkout . app> git diff app> mrt

Stand back while Meteorite does its thing

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

[[[[[ ~/dev/shumi/redes/app ]]]]]

=> Started proxy. => Started MongoDB.
datapack.on_user app... Warning: missing space before text for line 4 of jade file "client/DataPackLayout.jade" xox package.js xox.on_use datapack.on_use dialog.on_use Warning: missing space before text for line 59 of jade file "client/views/magnets.jade" Warning: missing space before text for line 11 of jade file "client/boards/board.jade" Warning: missing space before text for line 26 of jade file "client/lessons/LessonsOne.jade" I20140818-17:00:28.404(-7)? xox routes.coffee I20140818-17:00:28.453(-7)? bot router

I20140818-17:00:28.454(-7)? app routes

app> git diff diff --git a/app/smart.json b/app/smart.json index 86a5bd1..f5afa7e 100644 --- a/app/smart.json +++ b/app/smart.json @@ -5,7 +5,10 @@ "iron-router": {}, "subs-manager": {}, "collection-helpers": {},

Stand back while Meteorite does its thing ✓ iron-router branch: https://github.com/EventedMind/iron-router#devel ✓ spin tag: https://github.com/SachaG/meteor-spin.git#v2.0.4 ✓ jade tag: https://github.com/mquandalle/meteor-jade.git#v0.2.6 ✓ subs-manager tag: https://github.com/meteorhacks/subs-manager.git#v1.0.2 ✓ collection-helpers tag: https://github.com/dburles/meteor-collection-helpers.git#v0.3.1 ✓ npm tag: https://github.com/arunoda/meteor-npm.git#v0.2.6 ✓ meteor-markdown tag: https://github.com/yubozhao/meteor-markdown.git#v0.0.3 ✓ bootstrap-3 tag: https://github.com/mangasocial/meteor-bootstrap-3.git#v3.2.0-1 ✓ iron-layout tag: https://github.com/EventedMind/iron-layout.git#v0.2.0 ✓ blaze-layout tag: https://github.com/EventedMind/blaze-layout.git#v0.2.5 ✓ iron-core tag: https://github.com/EventedMind/iron-core.git#v0.2.0 ✓ iron-dynamic-template tag: https://github.com/EventedMind/iron-dynamic-template.git#v0.2.1

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

[[[[[ ~/dev/shumi/redes/app ]]]]]

=> Started proxy. => Started MongoDB.
Warning: missing space before text for line 11 of jade file "client/boards/board.jade" Warning: missing space before text for line 26 of jade file "client/lessons/LessonsOne.jade" => Errors prevented startup:

While building package iron-router: error: no such package: 'reactive-dict@1.0.0' error: no such package: 'deps@1.0.0' error: no such package: 'underscore@1.0.0' error: no such package: 'ejson@1.0.0' error: no such package: 'jquery@1.0.0' error: no such package: 'ui@1.0.0' error: no such package: 'iron' error: no such package: 'cmather' error: no such package: 'webapp@1.0.0'

=> Your application has errors. Waiting for file change. ^C% app> git co . app> rm smart.lock app> mrt

Stand back while Meteorite does its thing ✓ spin tag: https://github.com/SachaG/meteor-spin.git#v2.0.4 ✓ jade tag: https://github.com/mquandalle/meteor-jade.git#v0.2.6 ✓ iron-router tag: https://github.com/EventedMind/iron-router.git#v0.9.1 ✓ subs-manager tag: https://github.com/meteorhacks/subs-manager.git#v1.0.2 ✓ collection-helpers tag: https://github.com/dburles/meteor-collection-helpers.git#v0.3.1 ✓ iron-router-ga tag: https://github.com/reywood/meteor-iron-router-ga.git#v0.2.5 ✓ npm tag: https://github.com/arunoda/meteor-npm.git#v0.2.6 ✓ meteor-markdown tag: https://github.com/yubozhao/meteor-markdown.git#v0.0.3 ✓ bootstrap-3 tag: https://github.com/mangasocial/meteor-bootstrap-3.git#v3.2.0-1 ✓ iron-layout tag: https://github.com/EventedMind/iron-layout.git#v0.2.0 ✓ blaze-layout tag: https://github.com/EventedMind/blaze-layout.git#v0.2.5 ✓ iron-core tag: https://github.com/EventedMind/iron-core.git#v0.2.0 ✓ iron-dynamic-template tag: https://github.com/EventedMind/iron-dynamic-template.git#v0.2.1

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

[[[[[ ~/dev/shumi/redes/app ]]]]]

=> Started proxy. => Started MongoDB.
Warning: missing space before text for line 11 of jade file "client/boards/board.jade" Warning: missing space before text for line 26 of jade file "client/lessons/LessonsOne.jade" => Errors prevented startup:

While building package iron-router: error: no such package: 'reactive-dict@1.0.0' error: no such package: 'deps@1.0.0' error: no such package: 'underscore@1.0.0' error: no such package: 'ejson@1.0.0' error: no such package: 'jquery@1.0.0' error: no such package: 'ui@1.0.0' error: no such package: 'iron' error: no such package: 'cmather' error: no such package: 'webapp@1.0.0'

=> Your application has errors. Waiting for file change. ^C% app> gst On branch master Your branch is up-to-date with 'origin/master'.

Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory)

modified:   smart.lock

no changes added to commit (use "git add" and/or "git commit -a") app> git diff diff --git a/app/smart.lock b/app/smart.lock index 8b432ff..9c66848 100644 --- a/app/smart.lock +++ b/app/smart.lock @@ -25,8 +25,8 @@ }, "iron-router": { "git": "https://github.com/EventedMind/iron-router.git",

  • "tag": "v0.8.2",
  • "commit": "05415a8891ea87a00fb1e2388585f2ca5a38e0da"
  • "tag": "v0.9.1",
  • "commit": "9a0e90952d4cb9d3a15451477699ce3e21d4fa73" }, "subs-manager": { "git": "https://github.com/meteorhacks/subs-manager.git", app> rm smart.lock app> git checkout . app> git diff app> mrt

Stand back while Meteorite does its thing

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

[[[[[ ~/dev/shumi/redes/app ]]]]]

=> Started proxy. => Started MongoDB.
datapack.on_user app... Warning: missing space before text for line 4 of jade file "client/DataPackLayout.jade" xox package.js xox.on_use datapack.on_use dialog.on_use Warning: missing space before text for line 59 of jade file "client/views/magnets.jade" Warning: missing space before text for line 11 of jade file "client/boards/board.jade" Warning: missing space before text for line 26 of jade file "client/lessons/LessonsOne.jade" I20140818-17:00:28.404(-7)? xox routes.coffee I20140818-17:00:28.453(-7)? bot router I20140818-17:00:28.454(-7)? app routes I20140818-17:00:28.454(-7)? DataLoader [ { collectionName: 'Examples', I20140818-17:00:28.454(-7)? sheetKey: '10Kwg8Flo-5lmeAcBHme6K7EUrgSWwQNn_FgKLMl3niU', I20140818-17:00:28.454(-7)? sheetId: 776916477, I20140818-17:00:28.454(-7)? postProcess: [Function] }, I20140818-17:00:28.454(-7)? { sheetKey: '10Kwg8Flo-5lmeAcBHme6K7EUrgSWwQNn_FgKLMl3niU', I20140818-17:00:28.454(-7)? collectionName: 'Boards', I20140818-17:00:28.454(-7)? sheetId: 1945713346 }, I20140818-17:00:28.454(-7)? { sheetKey: '10Kwg8Flo-5lmeAcBHme6K7EUrgSWwQNn_FgKLMl3niU', I20140818-17:00:28.454(-7)? collectionName: 'Pairs', I20140818-17:00:28.455(-7)? sheetId: 1472623918 }, I20140818-17:00:28.455(-7)? { sheetKey: '10Kwg8Flo-5lmeAcBHme6K7EUrgSWwQNn_FgKLMl3niU', I20140818-17:00:28.455(-7)? collectionName: 'Vocab', I20140818-17:00:28.455(-7)? sheetId: 0 }, I20140818-17:00:28.455(-7)? { sheetKey: '10Kwg8Flo-5lmeAcBHme6K7EUrgSWwQNn_FgKLMl3niU', I20140818-17:00:28.455(-7)? collectionName: 'Lessons', I20140818-17:00:28.455(-7)? sheetId: 1841763393 } ] I20140818-17:00:28.455(-7)? DataLoader.publishAll I20140818-17:00:28.455(-7)? publish: Examples I20140818-17:00:28.456(-7)? publish: Boards I20140818-17:00:28.456(-7)? publish: Pairs I20140818-17:00:28.456(-7)? publish: Vocab I20140818-17:00:28.456(-7)? publish: Lessons W20140818-17:00:28.456(-7)? (STDERR) W20140818-17:00:28.456(-7)? (STDERR) /Users/dc/.meteor/tools/cef2bcd356/lib/node_modules/fibers/future.js:173 W20140818-17:00:28.456(-7)? (STDERR) throw(ex); W20140818-17:00:28.457(-7)? (STDERR) ^ W20140818-17:00:28.457(-7)? (STDERR) TypeError: Cannot read property 'facebook' of undefined W20140818-17:00:28.457(-7)? (STDERR) at Accounts.validateLoginAttempt._ref (packages/xox/server/player_manager.coffee:9:34) W20140818-17:00:28.457(-7)? (STDERR) at /Users/dc/dev/shumi/redes/app/.meteor/local/build/programs/server/boot.js:168:5 => Exited with code: 8 Warning: missing space before text for line 11 of jade file "client/boards/board.jade" Warning: missing space before text for line 26 of jade file "client/lessons/LessonsOne.jade" I20140818-17:00:31.031(-7)? xox routes.coffee I20140818-17:00:31.034(-7)? bot router I20140818-17:00:31.039(-7)? app routes I20140818-17:00:31.061(-7)? DataLoader [ { collectionName: 'Examples', I20140818-17:00:31.061(-7)? sheetKey: '10Kwg8Flo-5lmeAcBHme6K7EUrgSWwQNn_FgKLMl3niU', I20140818-17:00:31.061(-7)? sheetId: 776916477, I20140818-17:00:31.061(-7)? postProcess: [Function] }, I20140818-17:00:31.061(-7)? { sheetKey: '10Kwg8Flo-5lmeAcBHme6K7EUrgSWwQNn_FgKLMl3niU', I20140818-17:00:31.061(-7)? collectionName: 'Boards', I20140818-17:00:31.062(-7)? sheetId: 1945713346 }, I20140818-17:00:31.062(-7)? { sheetKey: '10Kwg8Flo-5lmeAcBHme6K7EUrgSWwQNn_FgKLMl3niU', I20140818-17:00:31.062(-7)? collectionName: 'Pairs', I20140818-17:00:31.062(-7)? sheetId: 1472623918 }, I20140818-17:00:31.062(-7)? { sheetKey: '10Kwg8Flo-5lmeAcBHme6K7EUrgSWwQNn_FgKLMl3niU', I20140818-17:00:31.062(-7)? collectionName: 'Vocab', I20140818-17:00:31.062(-7)? sheetId: 0 }, I20140818-17:00:31.062(-7)? { sheetKey: '10Kwg8Flo-5lmeAcBHme6K7EUrgSWwQNn_FgKLMl3niU', I20140818-17:00:31.062(-7)? collectionName: 'Lessons', I20140818-17:00:31.062(-7)? sheetId: 1841763393 } ] I20140818-17:00:31.063(-7)? DataLoader.publishAll I20140818-17:00:31.063(-7)? publish: Examples I20140818-17:00:31.063(-7)? publish: Boards I20140818-17:00:31.063(-7)? publish: Pairs I20140818-17:00:31.063(-7)? publish: Vocab I20140818-17:00:31.063(-7)? publish: Lessons W20140818-17:00:31.067(-7)? (STDERR) W20140818-17:00:31.068(-7)? (STDERR) /Users/dc/.meteor/tools/cef2bcd356/lib/node_modules/fibers/future.js:173 W20140818-17:00:31.068(-7)? (STDERR) throw(ex); W20140818-17:00:31.068(-7)? (STDERR) ^ W20140818-17:00:31.076(-7)? (STDERR) TypeError: Cannot read property 'facebook' of undefined W20140818-17:00:31.076(-7)? (STDERR) at Accounts.validateLoginAttempt._ref (packages/xox/server/player_manager.coffee:9:34) W20140818-17:00:31.076(-7)? (STDERR) at /Users/dc/dev/shumi/redes/app/.meteor/local/build/programs/server/boot.js:168:5 => Exited with code: 8 ^C% app> Warning: missing space before text for line 11 of jade file "client/boards/board.jade" Warning: missing space before text for line 26 of jade file "client/lessons/LessonsOne.jade"

app> Unexpected mongo exit code 0. Restarting.

app> meteor update This project is already at Meteor 0.8.3, the latest release. app> app> git diff diff --git a/app/smart.lock b/app/smart.lock index 8b432ff..d9f30cf 100644 --- a/app/smart.lock +++ b/app/smart.lock @@ -25,8 +25,7 @@ }, "iron-router": { "git": "https://github.com/EventedMind/iron-router.git",

Stand back while Meteorite does its thing ✓ iron-router tag: https://github.com/EventedMind/iron-router.git#v0.9.1

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

[[[[[ ~/dev/shumi/redes/app ]]]]]

=> Started proxy. => Started MongoDB.
datapack.on_user app... Warning: missing space before text for line 4 of jade file "client/DataPackLayout.jade" xox package.js xox.on_use datapack.on_use dialog.on_use Warning: missing space before text for line 59 of jade file "client/views/magnets.jade" Warning: missing space before text for line 11 of jade file "client/boards/board.jade" Warning: missing space before text for line 26 of jade file "client/lessons/LessonsOne.jade" => Errors prevented startup:

While building package iron-router: error: no such package: 'reactive-dict@1.0.0' error: no such package: 'deps@1.0.0' error: no such package: 'underscore@1.0.0' error: no such package: 'ejson@1.0.0' error: no such package: 'jquery@1.0.0' error: no such package: 'ui@1.0.0' error: no such package: 'iron' error: no such package: 'cmather' error: no such package: 'webapp@1.0.0'

=> Your application has errors. Waiting for file change. ^C% app> mrt

Stand back while Meteorite does its thing ✓ iron-router tag: https://github.com/EventedMind/iron-router.git#v0.9.0 ^C% app> git diff diff --git a/app/smart.lock b/app/smart.lock index 8b432ff..946e393 100644 --- a/app/smart.lock +++ b/app/smart.lock @@ -25,8 +25,7 @@ }, "iron-router": { "git": "https://github.com/EventedMind/iron-router.git",

Stand back while Meteorite does its thing ✓ iron-router tag: https://github.com/EventedMind/iron-router.git#v0.9.0

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

[[[[[ ~/dev/shumi/redes/app ]]]]]

=> Started proxy. => Started MongoDB.
iron-router: updating npm dependencies -- connect... datapack.on_use Warning: missing space before text for line 4 of jade file "client/DataPackLayout.jade" xox package.js xox.on_use datapack.on_use dialog.on_use Warning: missing space before text for line 59 of jade file "client/views/magnets.jade" Warning: missing space before text for line 11 of jade file "client/boards/board.jade" Warning: missing space before text for line 26 of jade file "client/lessons/LessonsOne.jade" => Errors prevented startup:

While building package iron-router: error: no such package: 'reactive-dict@1.0.0' error: no such package: 'deps@1.0.0' error: no such package: 'underscore@1.0.0' error: no such package: 'ejson@1.0.0' error: no such package: 'jquery@1.0.0' error: no such package: 'ui@1.0.0' error: no such package: 'iron' error: no such package: 'cmather' error: File not found: lib/version_conflict_error.js error: no such package: 'webapp@1.0.0'

=> Your application has errors. Waiting for file change. ^C% app> node --version v0.10.26 app> git diff diff --git a/app/smart.lock b/app/smart.lock index 8b432ff..1186bf5 100644 --- a/app/smart.lock +++ b/app/smart.lock @@ -25,8 +25,7 @@ }, "iron-router": { "git": "https://github.com/EventedMind/iron-router.git",

Stand back while Meteorite does its thing ✓ iron-router tag: https://github.com/EventedMind/iron-router.git#v0.8.2

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

[[[[[ ~/dev/shumi/redes/app ]]]]]

=> Started proxy. => Started MongoDB.
datapack.on_user app... Warning: missing space before text for line 4 of jade file "client/DataPackLayout.jade" xox package.js xox.on_use datapack.on_use dialog.on_use Warning: missing space before text for line 59 of jade file "client/views/magnets.jade" Warning: missing space before text for line 11 of jade file "client/boards/board.jade" Warning: missing space before text for line 26 of jade file "client/lessons/LessonsOne.jade" I20140818-17:05:39.210(-7)? xox routes.coffee I20140818-17:05:39.258(-7)? bot router I20140818-17:05:39.258(-7)? app routes — Reply to this email directly or view it on GitHub.

linojon commented 10 years ago

hi i'm new to meteor, working thru discovermeteor, how do i "stick with 0.8.3"? :) (pm me)

JeremySaks commented 10 years ago

@linojon i got things running by adding to smart.json:

"iron-router": {
  "version": "0.8.2"
}

Then running mrt update from the console. That worked with Meteor 0.8.3.

zeroasterisk commented 10 years ago

Again, if you're feeling brave(crazy), you can upgrade Meteor:

meteor update --release 0.9.0-rc9

and learn the new package system before it's ready.

meteor search router | grep iron
meteor add iron:router
meteor search bootstrap | grep less
linojon commented 10 years ago

@jeremyaks thx! that worked @zeroasterisk i can either be brave or stupid, presently i'm feeling a little stupid. i'd rather not be both at the same time :)

northcoders-chris commented 10 years ago

@JeremySaks Is that all you did? I followed your instructions but Router is not defined when I run my server. @zeroasterisk lol! have to upgrade sooner or later! have you had any issues or problems with 0.9?

bitomule commented 10 years ago

@JeremySaks I've tried that too and get the Router is not defined error like @chrishill627

bitomule commented 10 years ago

@chrishill627 try

meteor add iron-router 

after mrt update. It fixed the Router is not defined error for me.

northcoders-chris commented 10 years ago

@bitomule thanks! meteor add not mrt add?

bitomule commented 10 years ago

@chrishill627 yes, meteor add. Don't know why iron router it's not added to the app, using meteor add iron-router it works well.

northcoders-chris commented 10 years ago

@bitomule fair enough, cheers, I will add it with meteor form now on if its possible

northcoders-chris commented 10 years ago

I am not sure if these solutions are suitable to close the issue but the combination of @bitomule and @JeremySaks is working for me. I am sure @zeroasterisk solutions does as well but I am with @linojon !!! Cheers

rijk commented 10 years ago

Same here, on a fresh Meteor 0.8.3 instance:

Uniti-iMac:meteor Rijkie$ meteor create testiron
testiron: created.

To run your new app:
   cd testiron
   meteor
Uniti-iMac:meteor Rijkie$ cd testiron/
Uniti-iMac:testiron Rijkie$ mrt add iron-router
✓ iron-router
    tag: https://github.com/EventedMind/iron-router.git#v0.9.1
✓ iron-layout
    tag: https://github.com/EventedMind/iron-layout.git#v0.2.0
✓ blaze-layout
    tag: https://github.com/EventedMind/blaze-layout.git#v0.2.5
✓ iron-core
    tag: https://github.com/EventedMind/iron-core.git#v0.2.0
✓ iron-dynamic-template
    tag: https://github.com/EventedMind/iron-dynamic-template.git#v0.2.1

Done installing smart packages

Stand back while Meteorite does its thing

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

=> Errors while scanning packages:

While building package `iron-router`:
error: no such package: 'reactive-dict@1.0.0'
error: no such package: 'deps@1.0.0'
error: no such package: 'underscore@1.0.0'
error: no such package: 'ejson@1.0.0'
error: no such package: 'jquery@1.0.0'
error: no such package: 'ui@1.0.0'
error: no such package: 'iron'
error: no such package: 'cmather'
error: no such package: 'webapp@1.0.0'

/usr/local/lib/node_modules/meteorite/lib/command.js:41
            throw "Command exited with " + code + "/" + signal;
                                                      ^
Command exited with 1/null

@JeremySaks 's solution worked for me too.

michaelrokosh commented 10 years ago

@bitomule mrt add works for me

bitomule commented 10 years ago

@Praxie I've tried mrt add and it doesn't work for me.

pociej commented 10 years ago

after downgrade i have : Router is undefined error client side in Router.waitOn(function(){ return currentUser; });

path to file is client/lib/meteor/client_routing.js

terokaisti commented 10 years ago

@pociej After downgrading the version number in smart.json, remove the following subdirectories blaze-layout, iron-layout, iron-router, iron-core and iron-dynamic-template inside packages. Then rerun "mrt update" and try if it helps. Worked for me at least.

cmather commented 10 years ago

Oh goodness. I'm sorry folks. My wires crossed and I deployed a version intended for the new meteor packaging system (Meteor 0.9) to Atmosphere by mistake. I'm not sure how to undo this. So if you're not using the new packaging system with 0.9 release candidate please remove the iron:packages and go back to iron-router 0.8.2. I think someone already posted the instructions here: update your smart.json file. Sorry for the hassle.

On Aug 19, 2014, at 7:03 AM, Tero Kaisti notifications@github.com wrote:

@pociej After downgrading the version number in smart.json, remove the following subdirectories blaze-layout, iron-layout, iron-router, iron-core and iron-dynamic-template inside packages. Then rerun "mrt update" and try if it helps. Worked for me at least.

— Reply to this email directly or view it on GitHub.

cmather commented 10 years ago

See my comment here too: https://github.com/EventedMind/iron-router/issues/777#issuecomment-52659408.

pociej commented 10 years ago

thx, working now. crazy meteor world ;)

peterennis commented 10 years ago

I pulled 0.8.2 from the repo and downgraded other related iron/blaze packages and got it to work. Thanks.