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

11th
Nov 2016
Nadhir Boukhenifra
@NadhirBoukhenifra
Nov 11 2016 12:22
Hello;
Richard Davenport
@richarddavenport
Nov 11 2016 15:16
Just getting started with webpack and angular2. Hopefully someone can explain something to me without too much trouble. In polyfills.browser.ts and vendor.browser.ts the "process" object is used. I'm assuming that's the node process. Is that there becuase webpack is a node process and it is something you can configure?
Mark
@crain
Nov 11 2016 16:17
is the starter supposed to work with native i18n from angular2? I cloned the project, did a npm install and ran ./node_modules/.bin/ng-xi18n and I am getting the following error:
can't resolve module C:/dev/angular2-webpack-starter/src/app/+detail/index.ts from C:/dev/angular2-webpack-starter/src/app/+detail/index.ts Error: can't find symbol AboutModule exported from module C:/dev/angular2-webpack-starter/src/app/+detail/index.ts at ReflectorHost.findDeclaration (C:\dev\angular2-webpack-starter\node_modules\@angular\compiler-cli\src\reflector_host.js:173:23) at _loop_1 (C:\dev\angular2-webpack-starter\node_modules\@angular\compiler-cli\src\extract_i18n.js:63:51) at Extractor.readFileMetadata (C:\dev\angular2-webpack-starter\node_modules\@angular\compiler-cli\src\extract_i18n.js:77:13) at C:\dev\angular2-webpack-starter\node_modules\@angular\compiler-cli\src\extract_i18n.js:84:74 at Array.map (native) at Extractor.extract (C:\dev\angular2-webpack-starter\node_modules\@angular\compiler-cli\src\extract_i18n.js:84:35) at extract (C:\dev\angular2-webpack-starter\node_modules\@angular\compiler-cli\src\extract_i18n.js:14:35) at Object.main (C:\dev\angular2-webpack-starter\node_modules\@angular\tsc-wrapped\src\main.js:30:16) at Object.<anonymous> (C:\dev\angular2-webpack-starter\node_modules\@angular\compiler-cli\src\extract_i18n.js:153:9) at Module._compile (module.js:556:32)