Angularne / angular2-express-mysql-typescript-seed

This project is on hold. The whole project is continued in Angularne´s repository Kosystem. This seed uses an old version of Angular 2 and does not work properly.
2 stars 0 forks source link

modules missing in client #1

Open ericeche opened 8 years ago

ericeche commented 8 years ago

Hi There

When I run tsc -p client I get the following missing :

client/app/controllers/customer.ts(1,33): error TS2307: Cannot find module 'angular2/core'. client/app/controllers/customer.ts(2,27): error TS2307: Cannot find module 'angular2/router'. client/app/controllers/customer.ts(3,30): error TS2307: Cannot find module 'angular2/http'. client/app/controllers/customers.ts(1,33): error TS2307: Cannot find module 'angular2/core'. client/app/controllers/customers.ts(2,33): error TS2307: Cannot find module 'angular2/router'. client/app/controllers/customers.ts(3,30): error TS2307: Cannot find module 'angular2/http'. client/app/controllers/equipment-detail.ts(1,54): error TS2307: Cannot find module 'angular2/core'. client/app/controllers/equipment-detail.ts(3,30): error TS2307: Cannot find module 'angular2/http'. client/app/controllers/equipment-list.ts(1,25): error TS2307: Cannot find module 'angular2/core'. client/app/controllers/equipment-list.ts(5,22): error TS2307: Cannot find module 'angular2/core'. client/app/controllers/equipment-list.ts(6,30): error TS2307: Cannot find module 'angular2/http'. client/app/controllers/socket.ts(3,44): error TS2307: Cannot find module 'angular2/core'. client/app/controllers/socket.ts(4,33): error TS2307: Cannot find module 'angular2/router'. client/app/controllers/socket.ts(5,21): error TS2307: Cannot find module 'angular2/platform/browser'. client/app/data_access/equipment/equipment.service.ts(3,26): error TS2307: Cannot find module 'angular2/core'. client/app/data_access/equipment/equipment.service.ts(4,30): error TS2307: Cannot find module 'angular2/http'. client/app/data_access/equipment/equipment.service.ts(29,12): error TS2304: Cannot find name 'Promise'. client/app/data_access/equipment/equipment.service.ts(41,12): error TS2304: Cannot find name 'Promise'. client/app/data_access/equipment/equipment.service.ts(56,16): error TS2304: Cannot find name 'Promise'. client/app/app.ts(1,25): error TS2307: Cannot find module 'angular2/core'. client/app/app.ts(2,54): error TS2307: Cannot find module 'angular2/router'. client/app/app.ts(3,30): error TS2307: Cannot find module 'angular2/http'. client/app/boot.ts(1,25): error TS2307: Cannot find module 'angular2/platform/browser'. client/app/boot.ts(3,23): error TS2307: Cannot find module 'angular2/core'. client/app/boot.ts(4,30): error TS2307: Cannot find module 'angular2/http'. client/app/boot.ts(5,72): error TS2307: Cannot find module 'angular2/router'. client/app/controllers/main.component.ts(1,25): error TS2307: Cannot find module 'angular2/core'. client/app/controllers/my-site.component.ts(1,25): error TS2307: Cannot find module 'angular2/core'. client/app/controllers/subject.component.ts(1,25): error TS2307: Cannot find module 'angular2/core'.

Tollefsen commented 8 years ago

Have not checked your issue in detail, but I believe this is because we have used an old version of Angular 2. The repository uses RC1 which is outdated. We are not currently planning to update the repository, I would recommend using another seed. Sorry about the inconvenience, I will update the description.