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

265
Visualizações
Getting a message "Cannot find module 'web3' " even though I have installed Web3

I was trying to run this command on my Mac Terminal, but I keep getting this feedback while I try to run it. I tried to follow the suggestions shared by the community, but could not go past this step.

enter image description here

Any suggestions around how to navigate this?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Do try doing this: run npm i web3

Drop into the repl like: node >> const Web3 = require('web3') Web3. (press tab to see the web3 api)

This installs web3 in the current path, inside a node_modules folder making it usable inside the node repl See the attached screenshot. node_modules shouldn't be a bother. I delete them once I'm done with the use.enter image description here check if web3 is installed

install web3

Web3, type Web3. then  to see all the functions exposed by Web3

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