leonardohjines / auctionApp

13 stars 12 forks source link

Doesn't work? #1

Closed sommereder closed 1 year ago

sommereder commented 8 years ago

I did check out the source, but it doesn't start. "npm install" works perfectly, but not "npm start".

The following errors appear in the console:

  1. node_modules/angular2/src/facade/promise.d.ts(1,10): error TS2661: Cannot re-export name that is not defined in the module.
  2. public/javascripts/app/app.component.ts(14,23): error TS2304: Cannot find name 'io'.

How do you import Socket.IO to Angular2? There is no such command anywhere, is it?

Prozi commented 8 years ago
  1. https://github.com/angular/angular/issues/6468
  2. declare const io;
Prozi commented 8 years ago

And to answer your question it's in index.html script src

Prozi commented 8 years ago

After some googling I fixed this. Check especially changes to index.html: shim after polyfill and name of app.

dmitriyHirniy commented 8 years ago

Hi, i have problems with @angular2/router. When i want use provideRouter() method , i use import{provideRouter } from '@angular2/router' and start project. In console i see Error 404 can not find localhost:3000/@angular2/router. Can you help me?

Master244 commented 8 years ago

I guess this is not working anymore

https://github.com/Reactive-Extensions/RxJS build is failing where running this project after your fixes gives me

[0] GET /rxjs/Subject 404 2.528 ms - 1383 [0] GET /rxjs/observable/PromiseObservable 404 2.434 ms - 1383 [0] Error: Not Found

Prozi commented 7 years ago

https://github.com/Prozi/auctionApp