You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifying a build profile that doesn't exist, when no profiles property is present, it gets you TypeError: Cannot read properties of undefined (reading 'overrides') . Probably should tell either that the build profile doesn't exist, or there are no build profiles defined at all.
When profiles are defined, but the specified doesnt exist, it gives the same error. In this case it should tell that the profile doesnt exist.
Minimal reproduction steps
Create a new hardhat project. Run npx hardhat compile --build-profile foo, try with and without profiles property on the hardhat config file.
Search terms
No response
The text was updated successfully, but these errors were encountered:
Version of Hardhat
alpha
What happened?
profiles
property is present, it gets youTypeError: Cannot read properties of undefined (reading 'overrides') .
Probably should tell either that the build profile doesn't exist, or there are no build profiles defined at all.profiles
are defined, but the specified doesnt exist, it gives the same error. In this case it should tell that the profile doesnt exist.Minimal reproduction steps
Create a new hardhat project. Run
npx hardhat compile --build-profile foo
, try with and withoutprofiles
property on the hardhat config file.Search terms
No response
The text was updated successfully, but these errors were encountered: