meteor.comサイトでうまく機能していた流星アプリを書いています
$> mrt deploy myapp.meteor.com
ただし、数日間、アプリケーションはもう機能しません (まだローカルで機能します!) コンソールに次のエラーが表示されます
Exception in defer callback: Error: Oh no! No route found for path: "/"
at o.extend.onRouteNotFound
ルートが定義されているため、これは奇妙です。
Router.configure({
layout: 'layout',
loadingTemplate: 'loading',
notFoundTemplate: 'notFound'
});
Router.map(function () {
this.route('/', {
controller: 'HomeController'
});
});
コントローラーは次のようになります。
HomeController = RouteController.extend({
template: 'layout',
onBeforeAction: function () {
// TODO
},
waitOn: function () {
return [App.subs.lanes, App.subs.taskColors];
},
start: function () {},
action: function () {
if (this.ready())
this.render();
else
;
}
});
私はちょうど隕石を更新し、プロジェクトを更新しました
% mrt update
✓ scss
tag: https://github.com/fourseven/meteor-scss.git#v0.8.4
✓ iron-router
tag: https://github.com/EventedMind/iron-router.git#v0.7.1
✓ blaze-layout
tag: https://github.com/EventedMind/blaze-layout.git#v0.2.4
しかし、それでも同じ結果で、ローカルはすべて機能していますが、展開アプリはルート エラーを返します。役立つかもしれませんが、ここに mrt と meteor のバージョンがあります
% mrt --version
Meteorite version 0.7.3
Release 0.8.0
助言がありますか ?