[hardhat-zksolc]<Error: write EPIPE> #355
-
Which compiler are you using?
Which version of Solidity or Vyper?solc v0.8.19 zksolc/zkvyper version?zksolc v1.3.23 Explain the issueI'm trying to compile using zksolc but it shows error pnpm hardhat compile --network zkSyncTestnet Compiling contracts for zkSync Era with zksolc v1.3.23 and solc v0.8.19
Compiling 14 Solidity files
Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16) Link to your repo?No response |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 7 replies
-
@Confucian-e Can you please provide more details on the issue? A repo to reproduce would be ideal. |
Beta Was this translation helpful? Give feedback.
-
Well I just tried your cli, but it shows same error First I run pnpm dlx zksync-cli create demo --template hardhat_solidity Then run pnpm compile Then it shows > zksync-hardhat-template@ compile /Users/confucian/dev/zksync/demo
> hardhat compile
Compiling contracts for zkSync Era with zksolc v1.3.23 and solc v0.8.17
Compiling 48 Solidity files
Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
ELIFECYCLE Command failed with exit code 1. |
Beta Was this translation helpful? Give feedback.
-
Getting the same issue with v0.8.24 |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
-
zksolc 1.4.0 fixed this issue. |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
-
I am using 1.5.1 (also tried 1.4.0) zksolc and I am still getting EPIPE and sometimes EOF error when I compile. I have updated all packages and node version. Any idea why ? |
Beta Was this translation helpful? Give feedback.
zksolc 1.4.0 fixed this issue.