Code Monkey home page Code Monkey logo

Comments (25)

ITACC2018 avatar ITACC2018 commented on August 10, 2024 2

woow it's working..thanks you so much..you save my life
๐Ÿ‘ ๐Ÿ‘ ๐Ÿบ ๐Ÿบ

from ionic-selectable.

eakoriakin avatar eakoriakin commented on August 10, 2024 1

@ITACC2018 don't forget to star the project ๐Ÿ™‚ and let your friends know about it ๐Ÿ‘

from ionic-selectable.

eakoriakin avatar eakoriakin commented on August 10, 2024 1

Hey, thereโ€™s no need to import SelectSearchablePageComponent to entryComponents. Importing SelectSearchableModule is enough

from ionic-selectable.

CoreyReynolds avatar CoreyReynolds commented on August 10, 2024 1

I have a LL project lilanfelismino, worked for me same as any other.

from ionic-selectable.

eakoriakin avatar eakoriakin commented on August 10, 2024

Hi, what error do you get?
Can you share a small repo with your issue so I could help you?

from ionic-selectable.

ITACC2018 avatar ITACC2018 commented on August 10, 2024

when i click error

ERROR Error: Uncaught (in promise): Error: No component factory found for t. Did you add it to @NgModule.entryComponents?
Error: No component factory found for t. Did you add it to @NgModule.entryComponents?

from ionic-selectable.

eakoriakin avatar eakoriakin commented on August 10, 2024

Hey, maybe you haven't imported component properly?
Have a look here:
https://github.com/eakoriakin/ionic-select-searchable#1-why-do-i-get-error-cant-bind-to-items-since-it-isnt-a-known-property-of-select-searchable

from ionic-selectable.

ITACC2018 avatar ITACC2018 commented on August 10, 2024

still not working..i got error when i build apk and i installed in deviced
Error: No component factory found for t. Did you add it to @NgModule.entryComponents?

but if i run with
ionic run android -l -c OR ionic emulate android -l -c
it's working.
not working when i build .APK

app.module.ts
import { NgModule, ErrorHandler } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { HttpModule } from '@angular/http';
import { Network } from '@ionic-native/network';
import { HttpClientModule } from "@angular/common/http";
import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen'
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { MyApp } from './app.component';
import { IonicImageViewerModule } from 'ionic-img-viewer';
import { IonicImageLoader } from 'ionic-image-loader';
//import { FCM } from '@ionic-native/fcm';

import { SelectSearchableModule } from 'ionic-select-searchable';

@NgModule({
declarations: [
MyApp
],
imports: [
BrowserModule,
HttpModule,
HttpClientModule,
LinkyModule,
MomentModule,
ComponentsModule,
IonicModule.forRoot(MyApp, {
iconMode: 'ios',
modalEnter: 'modal-slide-in',
modalLeave: 'modal-slide-out',
tabsPlacement: 'bottom',
pageTransition: 'ios-transition'
}),
AngularFireModule.initializeApp(firebaseConfig),
AngularFireDatabaseModule,
AngularFireAuthModule,
ChatModule,
AboutPageModule,
SelectSearchableModule,
IonicImageViewerModule,
IonicImageLoader.forRoot()
],
bootstrap: [IonicApp],
entryComponents: [
MyApp
],
providers: [
StatusBar,
SplashScreen,
AuthServiceProvider,
{provide: ErrorHandler, useClass: IonicErrorHandler},
AuthServiceProvider,
EmojiProvider,
BotmanProvider,
CoaKategoriProvider,
ToastService,
Network,
HelpCategoryProvider,
BlogsBlogsProvider,
GhostProvider
//FCM
]
})
export class AppModule {}

and i imported in

import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { AboutPage} from './about';
import { SelectSearchableModule } from 'ionic-select-searchable';

@NgModule({
declarations: [AboutPage],
imports: [
IonicPageModule.forChild(AboutPage),
SelectSearchableModule
],
})
export class AboutPageModule { }

https://github.com/ITACC2018/itcaremobile/blob/master/src/app/app.module.ts

what this works on in [email protected] ?

from ionic-selectable.

eakoriakin avatar eakoriakin commented on August 10, 2024

Can you share a project/repo with this error?

from ionic-selectable.

ITACC2018 avatar ITACC2018 commented on August 10, 2024

sure,, this my repo
https://github.com/ITACC2018/itcaremobile

Error: No component factory found for t. Did you add it to @NgModule.entryComponents?
this error only appears only when i deploy to apk.

from ionic-selectable.

eakoriakin avatar eakoriakin commented on August 10, 2024

Good, I'll have a look

from ionic-selectable.

eakoriakin avatar eakoriakin commented on August 10, 2024

Install the latest version 2.4.0.
Also, there were some breaking changes in versions above 1.0.0. Follow the below instructions to update:

from ionic-selectable.

prescindivel avatar prescindivel commented on August 10, 2024

I have a similar problem in the version 2.10.0.

ERROR Error: Uncaught (in promise): Error: No component factory found for SelectSearchablePageComponent. Did you add it to @NgModule.entryComponents?
Error: No component factory found for SelectSearchablePageComponent. Did you add it to @NgModule.entryComponents?

I'm using lazyload on pages like:

image

image

from ionic-selectable.

prescindivel avatar prescindivel commented on August 10, 2024

I just imported SelectSearchableModule see:

image

when I click on select the following error occurs:

ERROR Error: Uncaught (in promise): Error: No component factory found for SelectSearchablePageComponent. Did you add it to @NgModule.entryComponents?

Thank you for your help!

from ionic-selectable.

lilianfelismino avatar lilianfelismino commented on August 10, 2024

Hi there! I work with @prescindivel and we are trying to use this component on a lazyload page. Have you ever tryied to use it like we are trying to? Does it work that way?
Thanks in advance.

from ionic-selectable.

lilianfelismino avatar lilianfelismino commented on August 10, 2024

Hey there, @CoreyReynolds! What version are you using? We are trying with version 2.10.0 of the ionic-selectable component + ionic 3 and it's not working.. :( Is there a possibility of sharing your LL project, or maybe by seeing our code above, to give us some ideas of what would we do to make it work?

from ionic-selectable.

CoreyReynolds avatar CoreyReynolds commented on August 10, 2024

Unfortunately it's not solely my project and I'm unable to host it for you to view, but if you're getting a specific error please share it.

from ionic-selectable.

lilianfelismino avatar lilianfelismino commented on August 10, 2024

As you can see above, as @prescindivel already shared it, we are getting this error:

ERROR Error: Uncaught (in promise): Error: No component factory found for SelectSearchablePageComponent. Did you add it to @NgModule.entryComponents?

Any ideas?
Thank you.

from ionic-selectable.

CoreyReynolds avatar CoreyReynolds commented on August 10, 2024

Missed the connection between you two.
I'm looking at my project and I haven't done anything different:
`
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { SignaturePage } from './signature';
import { SelectSearchableModule } from 'ionic-select-searchable';
import { SignaturePadModule } from 'angular2-signaturepad';

@NgModule({
declarations: [
SignaturePage,
],
imports: [
IonicPageModule.forChild(SignaturePage),
SelectSearchableModule,
SignaturePadModule
],
})
export class SignaturePageModule {}

`

Sometimes ionic errors can be a bit indirect. Is it possibly referencing a different page/module?
Also, just to see if it works, add import { SelectSearchableModule } from 'ionic-select-searchable'; to your imports and SelectSearchableModule to your imports and providers section.

from ionic-selectable.

lilianfelismino avatar lilianfelismino commented on August 10, 2024

Alright, @CoreyReynolds! We are gonna try to do it with a different page. I'll let you know.

Thank you very much!

from ionic-selectable.

prescindivel avatar prescindivel commented on August 10, 2024

Hi guys, I did both tests to confirm if the problem really is with the lazy load.

I had the same error with the lazy load:

Error: No component factory found for SelectSearchablePageComponent. Did you add it to @NgModule.entryComponents?

I created a repository with two projects, one normal and another lazyload: https://github.com/prescindivel/ionic-selectable-test

@CoreyReynolds which version of the ionic-selectable do you use?

from ionic-selectable.

CoreyReynolds avatar CoreyReynolds commented on August 10, 2024

from ionic-selectable.

lilianfelismino avatar lilianfelismino commented on August 10, 2024

from ionic-selectable.

eakoriakin avatar eakoriakin commented on August 10, 2024

Hey guys, Iโ€™m on vacation now. Iโ€™ll try to help you when Iโ€™m back in a week or two

from ionic-selectable.

eakoriakin avatar eakoriakin commented on August 10, 2024

This seems like a stale issue. New versions 3.3.0 and 4.3.0 have been release since then.

from ionic-selectable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.