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

ERROR: Ionic 6 with Angular 14 #410

Open
jalmirante opened this issue Feb 23, 2023 · 8 comments
Open

ERROR: Ionic 6 with Angular 14 #410

jalmirante opened this issue Feb 23, 2023 · 8 comments

Comments

@jalmirante
Copy link

Hi, I have an error when I import 'IonicSelectableModule':

'IonicSelectableModule' does not appear to be an NgModule class.(-996002)
ionic-selectable.module.d.ts(48, 82): This likely means that the library (ionic-selectable) which declares IonicSelectableModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

"dependencies": {
"@angular/common": "^14.0.0",
"@angular/core": "^14.0.0",
"@angular/forms": "^14.0.0",
"@angular/platform-browser": "^14.0.0",
"@angular/platform-browser-dynamic": "^14.0.0",
"@angular/router": "^14.0.0",
"@awesome-cordova-plugins/barcode-scanner": "^6.2.0",
"@capacitor/android": "4.2.0",
"@capacitor/app": "4.0.1",
"@capacitor/core": "4.2.0",
"@capacitor/haptics": "4.0.1",
"@capacitor/ios": "^4.3.0",
"@capacitor/keyboard": "4.0.1",
"@capacitor/splash-screen": "^4.1.3",
"@capacitor/status-bar": "4.0.1",
"@fortawesome/angular-fontawesome": "^0.11.1",
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-brands-svg-icons": "^6.2.1",
"@fortawesome/free-regular-svg-icons": "^6.2.1",
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@ionic/angular": "^6.1.9",
"@ionic/storage-angular": "^3.0.6",
"@swimlane/ngx-datatable": "^20.1.0",
"cordova-plugin-btprinter": "github:CesarBalzer/Cordova-Plugin-BTPrinter",
"ionic-selectable": "^4.9.0",
"ionicons": "^6.0.3",

I hope you can help me, thank you very much.

@LeandroFChaves
Copy link

LeandroFChaves commented May 16, 2023

Goodnight,

I'm also having the same problem, is there any possibility of this fix getting into some version? I am using ionic 7 and angular 16.

Thanks

@penihel
Copy link

penihel commented May 26, 2023

I'm also having the same problem, is there any possibility of this fix getting into some version? I am using ionic 7 and angular 16.

@pjc2007
Copy link

pjc2007 commented Jun 13, 2023

Going thru updating to latest Ionic and Angular (Ionic 7, and Angular 16) as above, and also getting

'IonicSelectableModule' does not appear to be an NgModule class.(-996002)
ionic-selectable.module.d.ts(22, 66): This likely means that the library (ionic-selectable) which declares IonicSelectableModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

@aaronbobi
Copy link

Same problem here!!! ("@ionic/angular": "^7.0.12" & "@angular/cli": "^16.0.0") Some alternative?

@karimBenBechir
Copy link

Same problem here !
Any workaround so far ?

@znotdead
Copy link

znotdead commented Jun 28, 2023

Same problem here ! Any workaround so far ?

https://ionicframework.com/docs/api/select#typeahead-component or probably would try ngx-mat-select-search

@webtekindo
Copy link

Same problem here ! Any idea how to fix this?

@mfortestapps
Copy link

mfortestapps commented Feb 16, 2024

i fixed it Alhamdo lilah

replace this
import { IonicSelectableModule } from 'ionic-selectable';

with this
import { IonicSelectableComponent } from 'ionic-selectable';

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

9 participants