Am just taking baby steps in Angular-2, have gone through 5-min quick start and ScothIO example. Am trying an example with Components and Services, i cant even bring up my application when i fire npm start command.
I get following error :
app/app.ts(5,33): error TS2307: Cannot find module '/app/family.component'.
app/app.ts(6,31): error TS2307: Cannot find module '/app/family.service'.
app/family.component.ts(2,31): error TS2307: Cannot find module 'app/family.service'.
I understand the fact that Angular / TypeScript is unable to find family.component and family.service when its trying to compile but all the Import paths seem to be correct for me as it worked all fine in the 5-min quick start example when tried.
Here is the Plunker link which has all code files
Please help me out in rectifying this Compile exception.
systemjs.config.js.systemjs.config.jswas 'app':{ main: 'app.ts', defaultExtension: 'ts' }, where i had used.jsearlier. If there r any more changes please let me know.