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

Please add an @NgModule annotation Error for angular project. #453

Open
WongSIuWing opened this issue Aug 7, 2024 · 0 comments
Open

Please add an @NgModule annotation Error for angular project. #453

WongSIuWing opened this issue Aug 7, 2024 · 0 comments

Comments

@WongSIuWing
Copy link

WongSIuWing commented Aug 7, 2024

Error

Error: Unexpected value 'IonicSelectableModule' imported by the module 'AppModule'. Please add an @NgModule annotation.
at verifySemanticsOfNgModuleDef (core.mjs:30044:19)
at core.mjs:30057:9
at Array.forEach ()
at verifySemanticsOfNgModuleDef (core.mjs:30055:10)
at AppModule.get (core.mjs:30003:30)
at getInjectorDef (core.mjs:671:15)
at walkProviderTree (core.mjs:2775:18)
at core.mjs:2735:13
at core.mjs:1389:79
at Array.forEach ()
content_script_bundle.js:1 Attempting initialization Wed Aug 07

Angular Version

Angular CLI: 18.1.2
Node: 20.12.2
Package Manager: npm 10.5.0
OS: win32 x64

Angular: 18.1.2
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, language-service, material, platform-browser
... platform-browser-dynamic, router, service-worker

@angular-devkit/architect 0.1801.2
@angular-devkit/build-angular 18.1.2
@angular-devkit/core 18.1.2
@angular-devkit/schematics 18.1.2
@schematics/angular 18.1.2
rxjs 6.6.7
typescript 5.5.4
zone.js 0.14.8

Ionic Version

"@ionic/angular": "^6.1.3",

Library Version

The installed version of the library "ionic-selectable": "^4.9.0", "ionic-selectable": "^4.8.0",

Import

This error appears when I try to import it on
@NgModule({
...
imports: [
IonicSelectableModule
],
...
})

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

No branches or pull requests

1 participant