-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Versions.
Angular CLI: 1.5.0
Node: 7.10.0
OS: win32 x64
Angular: 5.0.0
@angular/cli: 1.5.0
@angular-devkit/build-optimizer: 0.0.32
@angular-devkit/core: 0.0.20
@angular-devkit/schematics: 0.0.35
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.0
@schematics/angular: 0.1.1
typescript: 2.4.2
webpack: 3.8.1
Repro steps.
- npm install ngx-http-rest
- add
import { HttpRestModule } from 'ngx-http-rest';
to module.ts - import
HttpRestModule
inimports
section of module class
The log given by the failure.
ERROR in ./node_modules/ngx-http-rest/index.ts
Module build failed: Error: C:\Users\Uday\git-repos\thatisuday.github.io\ngx-ig-demo\node_modules\ngx-http-rest\index.ts is not part of the compilation outp
ut. Please check the other error messages for details.
at AngularCompilerPlugin.getCompiledFile (C:\Users\Uday\git-repos\thatisuday.github.io\ngx-ig-demo\node_modules\@ngtools\webpack\src\angular_compiler_pl
ugin.js:629:23)
at plugin.done.then (C:\Users\Uday\git-repos\thatisuday.github.io\ngx-ig-demo\node_modules\@ngtools\webpack\src\loader.js:467:39)
at process._tickCallback (internal/process/next_tick.js:109:7)
@ ./src/app/app.module.ts 11:0-47
@ ./src/main.ts
@ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts
Desired functionality.
Normally, angular app should compile.
Mention any other details that might be useful.
This is problem doesn't occur with ngx-http-rest
package but all packages made for Angular 4. For example, ngx-image-gallery
package made by me have exact same problem.
micheleissa
Metadata
Metadata
Assignees
Labels
No labels