无法解析模块:“angular2-meteor / build / meteor_component”

时间:2016-08-05 20:16:28

标签: meteor angular angular2-routing angular2-template

我有一个使用meteor.js和Angular2的项目。

这是我的package.json的样子:

  "dependencies": {
"@angular/common": "2.0.0-rc.3",
"@angular/compiler": "2.0.0-rc.3",
"@angular/core": "2.0.0-rc.3",
"@angular/forms": "0.1.1",
"@angular/http": "2.0.0-rc.3",
"@angular/platform-browser": "2.0.0-rc.3",
"@angular/platform-browser-dynamic": "2.0.0-rc.3",
"@angular/router": "3.0.0-alpha.8",
"@angular/upgrade": "2.0.0-rc.3",
"angular2-meteor": "^0.5.6",
"angular2-meteor-polyfills": "0.1.1",
"angulartics2": "^1.1.1",

//more dependencies...

}

使用meteor npm install安装依赖项,然后使用meteor启动应用后,我收到错误:

enter image description here

当然我尝试了meteor npm install --save angular2-meteor,但我得到同样的错误。

然后我读到某处更新节点和npm,我做过我尝试过节点5 *,6 *和最新的npm。但我仍然得到Angular2依赖的错误。

0 个答案:

没有答案