Open 0x-stan opened 7 months ago
I am also getting this error, except mine is a little different.
12.89 Updating certificates in /etc/ssl/certs...
14.78 Illegal instruction
14.82 dpkg: error processing package ca-certificates (--configure):
14.82 installed ca-certificates package post-installation script subprocess returned error exit status 132
14.82 Setting up libgssapi-krb5-2:amd64 (1.20.1-6ubuntu2.1) ...
14.84 Setting up libssh-4:amd64 (0.10.6-2build2) ...
14.84 Setting up jq (1.7.1-3build1) ...
14.84 Setting up libcurl4t64:amd64 (8.5.0-2ubuntu10.3) ...
14.84 Setting up curl (8.5.0-2ubuntu10.3) ...
14.85 Processing triggers for libc-bin (2.39-0ubuntu8.2) ...
14.88 Errors were encountered while processing:
14.88 ca-certificates
14.91 E: Sub-process /usr/bin/dpkg returned an error code (1)
------
failed to solve: process "/bin/sh -c apt-get update && apt-get install -y curl jq && apt-get clean && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
ⓘ There was an error while starting the testing environment:
ⓘ Command exited with code 17:
file:///PATH/node_modules/zksync-cli/bin/utils/helpers.js:52
reject(new Error(`Command exited with code ${code}: ${errorOutput}`));
^
Error: Command exited with code 17:
at ChildProcess.<anonymous> (file:///PATH/node_modules/zksync-cli/bin/utils/helpers.js:52:24)
at ChildProcess.emit (node:events:520:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
level: 'error',
[Symbol(level)]: 'error',
[Symbol(message)]: '\x1B[91mⓘ Command exited with code 17: \x1B[39m'
}
Node.js v22.7.0
🐛 Bug Report for zkSync CLI
📝 Description
zksync-cli dev start
command failed to build the docker image due to a bug in thezkcli-in-memory-node
Dockerfile. I have submitted a PR to the zkcli-in-memory-node repo to fix this issue.https://github.com/matter-labs/zkcli-in-memory-node/pull/3
Using
curl -s echo
may cause thejq -r
command to fail, but removing the echo command allows it to execute correctly. The current version of theDockerfile
will cause the build to fail; after modification, it can be built successfully.🔄 Reproduction Steps
npx zksync-cli dev start
🤔 Expected Behavior
npx zksync-cli dev start
command execute successfully.😯 Current Behavior
npx zksync-cli dev start
command execute faild.🖥️ Environment
📋 Additional Context
📎 Log Output