Error: EISDIR: illegal operation on a directory, read
at Object.readSync (node:fs:750:18)
at tryReadSync (node:fs:424:20)
at Object.readFileSync (node:fs:478:19)
at getConfig (/Users/snouffle/hardhat-tenderly/examples/contract-verification/ethers-v6/node_modules/@tenderly/hardhat-tenderly/node_modules/tenderly/src/utils/config.ts:15:25)
at new TenderlyNetwork (/Users/snouffle/hardhat-tenderly/examples/contract-verification/ethers-v6/node_modules/@tenderly/hardhat-tenderly/src/TenderlyNetwork.ts:42:39)
at new Tenderly (/Users/snouffle/hardhat-tenderly/examples/contract-verification/ethers-v6/node_modules/@tenderly/hardhat-tenderly/src/Tenderly.ts:42:28)
at /Users/snouffle/hardhat-tenderly/examples/contract-verification/ethers-v6/node_modules/@tenderly/hardhat-tenderly/src/tenderly/extender.ts:45:37
at getRealTarget (/Users/snouffle/hardhat-tenderly/examples/contract-verification/ethers-v6/node_modules/hardhat/src/internal/util/lazy.ts:112:22)
at Object.get (/Users/snouffle/hardhat-tenderly/examples/contract-verification/ethers-v6/node_modules/hardhat/src/internal/util/lazy.ts:185:26)
at TdlyContract._tdlyVerify (/Users/snouffle/hardhat-tenderly/examples/contract-verification/ethers-v6/node_modules/@tenderly/hardhat-tenderly/src/tenderly/ethers/Contract.ts:94:25) {
errno: -21,
code: 'EISDIR',
syscall: 'read'
}
I have tried to use sudo but same behavior
I found out that @tenderly/hardhat-tenderlyDOESN'T HAVE A SRC FOLDER so when hardhat tries to read it, it doesn't work
I don't know if it's related but when I am running tenderly login
I type my accesskey and they I get this error: Couldn't write global config file if I do this command in sudo, I can login but it doesn't work either way
When running
yarn private:calculator:automatic
in ethers-v6 exampleDoesn't work in ethers-v5 example as well
Currently on macOS Ventura 13.6.6
I have tried to use sudo but same behavior
I found out that
@tenderly/hardhat-tenderly
DOESN'T HAVE A SRC FOLDER so when hardhat tries to read it, it doesn't workI don't know if it's related but when I am running
tenderly login
I type my accesskey and they I get this error:
Couldn't write global config file
if I do this command in sudo, I can login but it doesn't work either way