import errors on hardhat depending on the root directory
kanej opened this issue · comments
John Kane commented
This issue was raised on twitter: https://twitter.com/0xPrimata/status/1651226891871821826
build project, in /d/Project/Feature;
import openzeppelin contract;
code . /d/Project
cd Feature
import error
code . /d/Project/Feature
no import error
Armando Andini commented
I tried to reproduce this on linux and windows and wasn't able to. Even included whitespaces on the directories to try to replicate. I also tried making the root directory a hardhat project itself (has a hardhat config file, contracts, etc), and even then the sub-project works properly.
John Kane commented
I will ping on twitter to see if the repo is open source.
John Kane commented
Closing as no response.