Description
Hello,
I see following trying to build angular 5 application. This used to work with angular 4.
C:\Work\assurant\XXXManagementApp [angular-5 ≡ +0 ~1 -0 !]> npm start
XXXManagementApp@1.0.0 start C:\Work\assurant\XXXManagementApp
ng serve --proxy-config ./proxy.conf.js
** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
Date: 2017-11-13T14:12:31.724Z
Hash: f6282ae4985825752bad
Time: 24660ms
chunk {inline} inline.bundle.js (inline) 5.79 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 659 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 971 kB [initial] [rendered]
chunk {styles} styles.bundle.js (styles) 150 kB [initial] [rendered]
chunk {vendor} vendor.bundle.js (vendor) 20.2 MB [initial] [rendered]
ERROR in ./node_modules/json-typescript-mapper/libs/utils.ts
Module build failed: Error: C:\Work\assurant\XXXManagementApp\node_modules\json-typescript-mapper\libs\utils.ts is not part of the compilation output. Pl
ease check the other error messages for details.
at AngularCompilerPlugin.getCompiledFile (C:\Work\assurant\XXXManagementApp\node_modules@ngtools\webpack\src\angular_compiler_plugin.js:629:23)
at plugin.done.then (C:\Work\assurant\XXXManagementApp\node_modules@ngtools\webpack\src\loader.js:467:39)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
@ ./node_modules/json-typescript-mapper/index.js 3:14-37
@ ./src/app/metric.service.ts
@ ./src/app/app.module.ts
@ ./src/main.ts
@ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts
webpack: Failed to compile.
I found this link that could explain
angular/angular-cli#8284
so I tried adding include to tsconfig.json but that did not solve it