文件图像
我遇到了这个错误,但无法找出原因。我正在尝试导入angular/core和angular/platform-browser。我查看了许多来自stackoverflow的链接,但都没有帮助到我。
这是我的package.json 文件
{ "name": "angular-2", "version": "1.0.0", "scripts": {
"start": "concurrently \"npm run tsc:w\" \"npm run lite\" ",
"tsc": "tsc",
"tsc:w": "tsc -w",
"lite": "lite-server",
"typings": "typings",
"postinstall": "typings install" }, "license": "ISC", "dependencies": {
"angular2": "2.0.0-beta.13",
"systemjs": "0.19.25",
"es6-shim": "^0.35.0",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"@angular/router": "3.0.0-alpha.7",
"zone.js": "0.6.6"
}, "devDependencies": {
"concurrently": "^2.0.0",
"lite-server": "^2.1.0",
"typescript": "^1.8.9",
"typings":"^0.7.11" } }