Error: No such container: fhevm

Hello,

I’m encountering an issue when trying to run the npm run fhevm:start command, which is part of the [Hardhat template]. The error occurs as follows:

npm run fhevm:start

> fhevm@0.5.8 fhevm:start
> ./launch-fhevm.sh

gatewayContractAddress written to gateway/.env.gateway successfully!
gateway/lib/PredeployAddress.sol file has been generated successfully.
57eea2614c6fc28a0e42a9a7faab95c1bdabb6ca16b2d18b35a23c8a199d65a4
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "./run_developer_image.sh nokeygen": stat ./run_developer_image.sh nokeygen: no such file or directory: unknown.

Best regards,
Segue

Hello!
Do you use the latest fhevm-hardhat-repository? GitHub - zama-ai/fhevm-hardhat-template: fhEVM hardhat template
It seems you’re issue is related to docker. I’d suggest to kill and remove all your docker images related to fhEVM and try again. We’ll see if it solves the issue.
Otherwise, we recommend users to develop their contracts using mocks: it’s faster and simpler.
Simply use: pnpm run test:mock

Thank you for the suggestion. I’m currently using a mock setup, and the mock is working fine, which is great. However, the first suggestion didn’t yield the desired results in my case.