These are chat archives for AngularClass/angular2-webpack-starter

25th
Feb 2016
Anas R. Firdousi
@afirdousi
Feb 25 2016 13:05
I forked the starter kit, worked great... made lots of changes to it and pushed it to our main repo, when people fork and clone that, they are getting this issue which is annoying:
ERROR in /Users/afirdousi/Documents/workspace/WatchtowerNodeWeb/node_modules/angular2/src/facade/promise.d.ts
(1,10): error TS2661: Cannot re-export name that is not defined in the module.
some how after this error Web Pack still says
Child html-webpack-plugin for "index.html":
    chunk    {0} index.html 417 kB [rendered]
        [0] ./~/html-webpack-plugin/lib/loader.js!./src/index.html 5.24 kB {0} [built]
           factory:27ms building:35ms = 62ms
        [1] ./~/html-webpack-plugin/~/lodash/index.js 411 kB {0} [built]
           [0] 62ms -> factory:2121ms building:528ms = 2711ms
        [2] (webpack)/buildin/module.js 251 bytes {0} [built]
           [0] 62ms -> [1] 2649ms -> factory:1040ms building:881ms = 4632ms
webpack: bundle is now VALID.
so it says bundle is now VALID. but when you go to the browser, the app never loads... it keeps showing "Loading...." and on the console you see the following
Screen Shot 2016-02-25 at 5.07.46 AM.png
Anas R. Firdousi
@afirdousi
Feb 25 2016 13:11
any pointers to fix this guys?
binarious
@binarious
Feb 25 2016 14:02
@afirdousi Are you using ts 1.8? angular/angular#6468
Anas R. Firdousi
@afirdousi
Feb 25 2016 14:03
@binarious the most recent comment on that issue is mine. Can you please go through that.
binarious
@binarious
Feb 25 2016 14:04
@afirdousi You're on beta3. That's the problem. Downgrade typescript or upgrade angular2.
Anas R. Firdousi
@afirdousi
Feb 25 2016 14:05
TSC : Version 1.8.2
Angular : 2.0.0-beta.3
Download typescript to ?
binarious
@binarious
Feb 25 2016 14:05
Downgrade to 1.7.5
Anas R. Firdousi
@afirdousi
Feb 25 2016 14:06
sure lem me try that. I will get back to you in a while @binarious . thanks for the pointer.
Anas R. Firdousi
@afirdousi
Feb 25 2016 14:39
Works great @binarious ! So it was all about downgrading TS ! Thanks a bunch.
binarious
@binarious
Feb 25 2016 15:08
:+1: You're welcome.
sammichelson
@sammichelson
Feb 25 2016 22:24
hello