流星0.8.0,铁路由器和发现流星 [英] Meteor 0.8.0, Iron Router and Discover Meteor
问题描述
流星0.8.0带有新的Blaze渲染,这对未来很有用.
Meteor 0.8.0 is out with the new Blaze rendering, which is great... for the future.
目前,我无法运行由Iron Router驱动的应用程序:已更新->运行流星->白色浏览器屏幕.我想我会回滚到0.7.2.但这给我一种模糊的感觉.就像有一台没有互联网连接的新计算机.这些更改是否有解决方法?至少是铁路由器?
At the present I can't run my Iron Router powered app: updated -> ran meteor -> white browser screen. I guess I'll roll back to 0.7.2. but that gives me a fuzzy feeling. Its like have a new computer with no internet connection. Is there any fix for these changes? At least for Iron Router?
注释评论(尽管它在标题中): 我正在使用发现流星"一书来学习流星,这是《钢铁之路》的同一位作者写的一本好书.我喜欢它.但是,如果流星发生了很大变化,那我是在浪费时间吗?
Note Comment (although it was in the title): I am learning meteor using the Discover Meteor book, it's a great book written by same author of Iron Router; I love it. However, if meteor changed that much am I wasting my time?
更新 @iAmME的解决方案效果很好!我以另一种方式解决了该问题,该问题也通过修改smartpackage修复了铁路由器的进度.只是想发布它,如果它可以帮助任何人:
Update @iAmME's solution works great! I solved it another way that also fixed iron-router-progress by modifying the smartpackage. Just wanted to post it if it helps anyone:
{
"packages": {
"blaze-layout": {},
"iron-router":
{
"git": "https://github.com/EventedMind/iron-router.git",
"branch": "blaze-integration"
},
"iron-router-progress":
{
"git": "https://github.com/Multiply/iron-router-progress.git",
"branch": "blaze-integration"
}
}
}
推荐答案
只是遇到了同样的问题,
Just faced the same issue,
完成以下操作并可以正常工作
Did the following and works fine
主要是发生这种情况,这是因为Iron-Router软件包和其他一些以spark
为依赖关系的软件包,然后像下面那样重新安装Iron-Router
It occurs mostly because of the iron-router package and few other packages which are using spark
as dependency and first re-install the iron-router like below
meteor remove iron-router
rm -rf packages/iron-router
mrt update
mrt add iron-router
只需重新安装iron-router即可将您更新到新版本,并且它会随Iron-router(这是新的模板系统)自动安装blaze-Layout
.
Just re-installing the iron-router will update you to the new version and also it installs blaze-Layout
automatically with the iron-router(which is the new templating system).
更新Iron-router之后,即使现在仍未定义spark
错误,也请检查哪个软件包正在使用spark
并也更新那些软件包.
After updating iron-router,Even now if you are getting spark
is not defined error,check which package is using spark
and update those packages too.
这篇关于流星0.8.0,铁路由器和发现流星的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!