Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

2.1K
Vistas
ERROR: has no exported member 'ɵɵFactoryDeclaration'

I am using Angular 11 and have encountered the following error when I added the swiper carousel to the project. I tried deleting and reinstalling node_modules but this did not solve the problem.

I have also tried changing the enableIvy setting in tsconfig.lib.strong textprod.json to this:

"enableIvy": false,

But that doesn't seem to have any effect.

It keeps showing the following error:

Error: node_modules/swiper/angular/angular/src/swiper-slide.directive.d.ts:24:21 - error TS2694: Namespace '"C:/Angualr project/project1/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. 24 static ɵfac: i0.ɵɵFactoryDeclaration<SwiperSlideDirective, never>; ~~~~~~~~~~~~~~~~~~~~ node_modules/swiper/angular/angular/src/swiper-slide.directive.d.ts:25:21 - error TS2694: Namespace '"C:/Angualr project/project1/node_modules/@angular/core/core"' has no exported member 'ɵɵDirectiveDeclaration'. 25 static ɵdir: i0.ɵɵDirectiveDeclaration<SwiperSlideDirective, "ng-template[swiperSlide]", never, { "virtualIndex": "virtualIndex"; "class": "class"; "autoplayDelay": "data-swiper-autoplay"; "zoom": "zoom"; }, {}, never>; ~~~~~~~~~~~~~~~~~~~~~~ node_modules/swiper/angular/angular/src/swiper.component.d.ts:250:21 - error TS2694: Namespace '"C:/Angualr project/project1/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'. 250 static ɵfac: i0.ɵɵFactoryDeclaration<SwiperComponent, never>; ~~~~~~~~~~~~~~~~~~~~ node_modules/swiper/angular/angular/src/swiper.component.d.ts:251:21 - error TS2694: Namespace '"C:/Angualr project/project1/node_modules/@angular/core/core"' has no exported member 'ɵɵComponentDeclaration'.

Something that confused me a lot in the text of the error refers to a place that does not exist: C:/Angualr project/project1/node_modules/@angular/core/core"

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

I was having this same issue earlier, I was able to resolve this by carrying out these few steps:

  1. deleted my node_modules folder
  2. ran npm i on the command line.
  3. lastly ran ng serve.
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda