I am using Visual Studio Enterprise 2015 Update 3. I have created a new project "Angular2 Mvc5 sample application" from the Online templates.
When I compile it I got lot of errors like:
Error TS2307 Cannot find module '@angular/core'.
Error TS2307 Cannot find module '@angular/http'.
Error TS2503 Cannot find namespace 'Models'.
What can I do in order to compile it without these errors?
Thanks!
Below is my tsconfig.json file:
{
"compileOnSave": true,
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": false
},
"exclude": [
"node_modules",
"typings/main",
"typings/main.d.ts",
"Scripts/TypeLite.Net4.d.ts"
]
}