Is it possible to change hardhat location?
Taewa opened this issue · comments
Taehwa Kim commented
Hi,
I wonder if I can can set hardhat location with vertigo.
The problem I am facing is that my project structure is a bit unusual.
node_modules
project1
contracts
SomeContract.sol
test
SomeContact.test.js
project2
contracts
SomeContract2.sol
test
SomeContact2.test.js
As you can see the node_modules
is not in the same level as contracts directory.
When I am in project1
directory, I run vertigo run --hardhat-parallel 8
, I get the following error:
[-] Encountered an error while running the framework's test command:
Error HH12: Trying to use a non-local installation of Hardhat, which is not supported.
Then I created a new project structure. It's almost the same as above but node_modules
is in the project1
.
project1
node_modules
contracts
SomeContract.sol
test
SomeContact.test.js
Then it works.
[+] Survivors
[*] Done!
By this experiment, I assume that vertigo can't find local hardhat.
Would it be possible to set local hardhat?
Or please let me know If I am pointing in wrong direction of the problem.
Thanks in advance.