Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

2.1K
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda