M
M
Mariik2018-02-15 12:46:03
JavaScript
Mariik, 2018-02-15 12:46:03

Why is the build not working in Angula?

Hello.
On my project, they decided to upgrade from Angular 4.3 to Angular 5.2 Immediately after that, Angular started complaining

ERROR in ./node_modules/@bluebamboo/common-ui/index.ts
Module build failed: Error: D:\src_angular\admin\node_modules\@bluebamboo\common-ui\index.ts is missing from the TypeScript compilation. Please make sure it is in you
r tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the
library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
    at AngularCompilerPlugin.getCompiledFile (D:\src_angular\admin\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:663:23)
    at plugin.done.then (D:\src_angular\admin\node_modules\@ngtools\webpack\src\loader.js:467:39)
    at process._tickCallback (internal/process/next_tick.js:109:7)
 @ ./src/app/app.module.ts 48:18-50
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts
that the external library is not part of the compilation. Any ideas, has anyone come across this before?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question