when i using:
import {Component} from 'angular2/core';
from app.component.ts my app will be ran successfully but compiler throw the Error:(1, 25) TS2307: Cannot find module 'angular2/core' whereas core file is in node_modules/angular2/core directory!
When I change core directory my app doesn't work but the compiler is ok! I'm working on ANGULAR: 5 MIN QUICKSTART
my tsconfig.json:
{
"compilerOptions": {
"target": "es6",
"module": "system",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": false
},
"exclude": [
"node_modules",
"typings/main",
"typings/main.d.ts"
]
}