流星js - "未被捕获只能有一个平台"错误

时间:2016-05-27 17:24:24

标签: meteor angular2-routing angular-meteor

我跟随Meteor和Angular 2一起学习本教程,我必须在整个过程中搞砸或者他们的教程不正确。我已经仔细检查了我的文件,一切似乎与教程相符。我也尝试过流星重置,但无法找出导致此错误的原因。我在Meteor和Angular2上做了太多新手来真正解读错误。我查看了错误中列出的行,它们似乎与教程相符。任何人都知道是什么原因导致了这个平台"错误?

我能够成功跟进到第5步: http://www.angular-meteor.com/tutorials/socially/angular2/routing-and-multiple-views

ERROR:
application_ref.js:36Uncaught There can be only one platform. Destroy the previous one to create a new one.
createPlatform @ application_ref.js:36
MeteorApp.bootstrap @ meteor_app.js:22
bootstrap @ bootstrap.js:9
meteorInstall.client.app.js @ app.ts:22
fileEvaluate @ install.js:141
require @ install.js:75
(anonymous function) @ parties.ts:3

1 个答案:

答案 0 :(得分:0)

在角度流星论坛上发布了一个问题,并且能够纠正这个问题。 https://forums.meteor.com/t/angular-meteor-angular2-tutorial-zip-and-site-dont-match-which-is-correct/23943/3

通过更新此程序包解决:https://github.com/cesargalindo/socially-step05