Skip to content
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

Facing NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class. #86

Open
ankurraiyani opened this issue Oct 1, 2020 · 1 comment

Comments

@ankurraiyani
Copy link

Hi,

Thanks for this library.
I have created new project with v10 and integrated the latest admin-lte and ngx-admin-let.
Below is my package.json

{
"name": "mmp-angular",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "~10.1.3",
"@angular/common": "~10.1.3",
"@angular/compiler": "~10.1.3",
"@angular/core": "~10.1.3",
"@angular/forms": "~10.1.3",
"@angular/http": "^7.2.16",
"@angular/platform-browser": "~10.1.3",
"@angular/platform-browser-dynamic": "~10.1.3",
"@angular/router": "~10.1.3",
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"admin-lte": "^3.0.5",
"bootstrap": "^4.5.2",
"font-awesome": "^4.7.0",
"ionicons": "^5.1.2",
"jquery": "^3.5.1",
"ngx-admin-lte": "^3.0.0-beta.1",
"ngx-toastr": "^13.0.0",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1001.3",
"@angular/cli": "~10.1.3",
"@angular/compiler-cli": "~10.1.3",
"@types/node": "^12.11.1",
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.0.2"
}
}

I am getting below error when i run the project ng serve.
image

Please help.

Thanks

@TwanoO67
Copy link
Owner

TwanoO67 commented Oct 2, 2020

Hello,

It seems that's a breaking change introduced by angular10.
I supposed that a new way to declare module is required but I have no idea on how to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants