Coder Social home page Coder Social logo

Comments (2)

virusbug07 avatar virusbug07 commented on May 28, 2024

Hey @boxingcoder00 make sure that you've installed all the hardhat dependencies!!

from full-blockchain-solidity-course-py.

xyz899 avatar xyz899 commented on May 28, 2024

Hi @boxingcoder00 ,

It seems like you're encountering an issue when trying to compile your Hardhat project. The issue you're describing typically occurs when your Hardhat project hasn't been properly initialized, that means it does not contain the required configuration to Compile/Deploy or the hardhat.config.js file is missing or incorrectly configured.

To better assist you with your issue, could you please provide more details about your project setup? Specifically, it would be helpful to know the structure of your project directory (the path where your contracts and scripts are located) and the contents of your hardhat.config.js file.

You should have a hardhat.config.js file in your project root. If you have this file, please check its contents. It should look something like this:

`require("@nomicfoundation/hardhat-toolbox");

/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
  solidity: "0.8.19",
};
`

The solidity version should match the version you're using in your smart contracts( here I'm Using 0.8.19 on a basic project ). If you're using a different version, please update this field accordingly.

If you're still encountering issues after checking these, could you please provide more details about the error message you're seeing, or share the contents of your hardhat.config.js file? This will help in diagnosing the issue.

Best Regards,
Younes

from full-blockchain-solidity-course-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.