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

340
Visualizações
Cannot find module "react-slick"

I'm trying to use react-slick inside my React project. When I try to import it

import Slider from 'react-slick';

I get this error

Cannot find module "react-slick"

Anyone else having this issue ?

https://github.com/akiran/react-slick Installation

npm install react-slick

Also install slick-carousel for css and font

npm install slick-carousel

React V "react@^15.4.1"

NPM install results

npm install react-slick --save
(node:14297) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
fb-lite@1.1.0 ..blal
└─┬ react-slick@0.14.5 
  ├─┬ json2mq@0.2.0 
  │ └── string-convert@0.2.1 
  ├─┬ react-responsive-mixin@0.4.0 
  │ ├── can-use-dom@0.1.0 
  │ └── enquire.js@2.1.1 
  └─┬ slick-carousel@1.6.0 
    └── jquery@3.1.1 


npm install slick-carousel --save
(node:14298) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
fb-lite@1.1.0 ..blal
└── slick-carousel@1.6.0 
over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

Inside your react component file: import Slider from 'react-slick';

In package.json check version : "react-slick": "^0.15.4"

this is working for me.

over 4 years ago · Santiago Trujillo Relatório

0

I have faced the same problem. Please run the below command:-

yarn remove react-slick // If you installed through yarn

 or

npm uninstall react-slick // If you installed through npm

then run:-

npm install react-slick --save
over 4 years ago · Santiago Trujillo Relatório

0

Uninstall and Install react-slick again. If that's not working, then check the modules in the package.json file:

"dependencies": {
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.3",
"react-slick": "^0.28.1",
"react-twitter-embed": "^3.0.3",
"reactjs-popup": "^2.0.5",
"slick-carousel": "^1.8.1"   }
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