【问题标题】:Meteor js - "uncaught There can only be one platform" errorMeteor js - “未捕获只能有一个平台”错误
【发布时间】:2016-09-26 03:08:38
【问题描述】:

我正在学习 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

【问题讨论】:

    标签: meteor angular2-routing angular-meteor


    【解决方案1】:

    在 angular-meteor 论坛上发布了一个问题,并能够纠正该问题。 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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-02-03
      • 2014-01-29
      • 1970-01-01
      • 2017-05-02
      • 2016-06-17
      • 2015-10-14
      • 2016-02-07
      相关资源
      最近更新 更多