-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with NgxAdminLteModule #35
Comments
Hello, Can you look if your node-modules actually contains ngx admin lte? |
hi again import { AppComponent } from './app.component'; @NgModule({ and when run npm install ngx-admin-lte sajad@sajad-pc:~/project/pardiscrm-ng$ npm install --save ngx-admin-lte npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): |
Ok, so it's related to the new compilation of angular5 (coming from @angular/cli) If you have any idea it would be much appreciated |
should be fixed by 2.0.0-beta.10. |
hi
i when import NgxAdminLteModule in
@NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, NgxAdminLteModule ], providers: [], bootstrap: [AppComponent] })
have a error for compile
`ERROR in ./node_modules/ngx-admin-lte/index.ts
Module build failed: Error: /home/sajad/project/pardiscrm-ng/node_modules/ngx-admin-lte/index.ts is missing from the TypeScript compilation. Please make sure it is in your 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 (/home/sajad/project/pardiscrm-ng/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:656:23)
at plugin.done.then (/home/sajad/project/pardiscrm-ng/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:22-46
@ ./src/main.ts
@ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts
webpack: Failed to compile.
ERROR in node_modules/ngx-admin-lte/src/ngx-admin-lte.module.ts(14,36): error TS2345: Argument of type 'HttpClient' is not assignable to parameter of type 'HttpClient'.
Types have separate declarations of a private property 'handler'.
`
The text was updated successfully, but these errors were encountered: