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

220
Vistas
Importing and using Web3 in React causing a compilation issue

After trying to import and use Web3 into my ReactJS project, I am getting the following issue:

enter image description here

Not sure exactly why it is doing this. Here is how I am importing the library and where I am using the Web3 library.

import Web3 from 'web3';

console.log(Web3.utils.isAddress('0xc1912fee45d61c87cc5ea59dae31190fffff232d'));

I have also tried to use the nodeJs way of importing things like:

const Web3 = require('web-3');

And it is yielding same result.

The error seems to be that I need an 'appropriate loader to handle that type of file' but not sure how to handle that.

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