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

139
Views
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 answers
Answer question

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 Report

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 Report
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!