Comments (2)
Hey @boxingcoder00 make sure that you've installed all the hardhat dependencies!!
from full-blockchain-solidity-course-py.
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)
- Lesson 4 - No puedo desplegar la transaccion HOT 9
- Missing Store option on left Panel in simplestorage contract HOT 1
- Lesson 7 : Please help my end lottery function keeps getting reverted, HOT 1
- web3.py - AttributeError: 'Eth' object has no attribute 'getTransactionCount' HOT 1
- LESSON 4 error saying"solcx.exceptions.SolcNotInstalled: solc 0.6.0 has not been installed. HOT 1
- AttributeError: Contract 'FundMe' object has no attribute 'getEntranceFee' HOT 3
- i tried verify contract on sepolia testnet but it show error HOT 7
- Type Error due to environment variable and ganache HOT 1
- Lesson3 call to FundMe.getVersion error HOT 1
- Warning! Error encountered during contract execution [invalid opcode: PUSH0
- code size to deposit exceeds maximum code size HOT 1
- Could not find files for the given pattern(s)
- This error originates from a subprocess, and is likely not a problem with pip. HOT 1
- .call() function not working so I 'm not able to receive any data
- Lesson 5: brownie simple storage account address error
- Lesson 5: Error in Installing Brownie HOT 1
- Lesson 7 "test_can_end_lottery" error HOT 1
- Blockchain HOT 1
- Lesson 6 : Brownie verify HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from full-blockchain-solidity-course-py.