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

7th
Dec 2016
Bal Kishan yadav
@BYadav85_twitter
Dec 07 2016 11:59
hi, i m using angular2-webpack-starter, but design part is not displaying.
anyone can help me out?
Ika Pkhakadze
@iPkhakadze_twitter
Dec 07 2016 13:35
Seems like this group is only for questions. No answers at all. Leaving. bb
George Batalinski
@georgebatalinski
Dec 07 2016 19:37
for this error Unexpected value 'FileUploadModule' imported by the module 'UploaderModule'
valor-software/ng2-file-upload#426
Is there a reason - why - we need relative paths for external Typescript modules
Is it a systemjs that cannot load - a typescript only NODE_MODULE
C:\workspace\angular2-webpack-starter\config\webpack.common.js
Does not work - modules: [helpers.root('src'), 'node_modules' ],
Works - modules: [helpers.root('src'), helpers.root('node_modules' )],
George Batalinski
@georgebatalinski
Dec 07 2016 19:55

How to replicate?

npm install - https://github.com/AngularClass/angular2-webpack-starter
npm install https://github.com/georgebatalinski/PUBLIC_NODE_MODULE
C:\workspace\angular2-webpack-starter\src\app\app.module.ts
import { FunBoardModule } from 'public_node_module';
...
imports: [ // import Angular's modules
...,
FunBoardModule,
],
npm start
Expected: get error

TO fix

C:\workspace\angular2-webpack-starter\config\webpack.common.js
change - modules: [helpers.root('src'), 'node_modules' ],
to [helpers.root('src'), helpers.root('node_modules' )],