You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ git clone [email protected]:chuckjaz/repro-20091.git
$ cd repro-20091
$ yarn install
$ ng build
Observed behavior
ERROR in ./node_modules/angular-bootstrap-md/index.ts
Module build failed: Error: ./node_modules/angular-bootstrap-md/index.ts is not part of the compilation output. Please check the other error messages for details.
at AngularCompilerPlugin.getCompiledFile (./node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:649:23)
at plugin.done.then (./node_modules/@ngtools/webpack/src/loader.js:467:39)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
@ ./src/app/app.module.ts 9:0-58
@ ./src/main.ts
@ multi ./src/main.ts
Desired behavior
No error message.
Mention any other details that might be useful (optional)
This works with Angular 4.4.2 which can be demonstrated by:
In that issue an in-depth explanation of what changed is included. The short version is that files that are meant to be compiled by TypeScript must be listed in src/tsconfig.app.json. There is currently a bug with AOT compilation where this isn't required (angular/angular#20115), but that should be fixed in the future.
Versions
Repro steps
From angular/angular#20091 (comment)
Observed behavior
Desired behavior
No error message.
Mention any other details that might be useful (optional)
This works with Angular 4.4.2 which can be demonstrated by:
git checkout adac6d359dbc1efa1ca70ef290f90359794b0ee1
yarn install
ng build
ng --version
The text was updated successfully, but these errors were encountered: