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

346
Vistas
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 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