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

341
Visualizações
Animated Heart React package not linked

I am using the following package, which I have installed to my package.json.

https://hackernoon.com/how-to-create-a-react-animated-like-heart-in-seconds-ts1g371m

I am trying to use this package directly, using the following

import React, { useState } from "react";
import Heart from "react-animated-heart";

export default function App() {
  const [isClick, setClick] = useState(false);
  return (
    <div className="App">
      <Heart isClick={isClick} onClick={() => setClick(!isClick)} />
    </div>
  );
}

I am getting the return message on the console:

./src/components/JobListing/JobCard.jsx

And the following message: As you can see it's pointing to my src component, when it should be looking for the package in the install.

Module not found: Can't resolve 'react-animated-heart' in 'C:\ApplyWithin_repo_file\ApplyWithin\frontend\src\components\JobListing'

Does anyone know how to solve

about 4 years ago · Juan Pablo Isaza
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