Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

219
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!