我有一个使用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
启动应用后,我收到错误:
当然我尝试了meteor npm install --save angular2-meteor
,但我得到同样的错误。
然后我读到某处更新节点和npm,我做过我尝试过节点5 *,6 *和最新的npm。但我仍然得到Angular2依赖的错误。