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

145
Visualizações
Truffle installation

[]1Please I have been trying to install truffle using cmd and I keep getting an error, I even tried using the terminal in vscode and I still got thesame error message please I need help. i tried installing truffle on my cmd using "npm install -g truffle".

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

0

You probably installed npm with NodeJs and truffle properly. The error is about your file don't have a file extension and VS Code can't recognize your language. You have to type npm init -y in the terminal. Then, when you type truffle init and press Enter, truffle will create the necessary dev environment for you. Open the file explorer by pressing Ctrl + B and create a file named MyContract.sol in the contracts folder. You can now start writing code in Solidity. For more instructions follow this guide.

Note: Make sure you type the commands in the folder where you want to create your project.

Or you can just create a file with .sol extension like MyContract.sol and write your code in it but you need to use truffle to compile and deploy your contract.

about 4 years ago · Juan Pablo Isaza Relatório

0

You must install nodejs which comes with npm first.

The command you are trying to use is npm and i feel like it is not installed.

Link

  • https://nodejs.org/en/
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