You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not at all sure if it's actually a bug. I'm probably doing something wrong but still
I'm getting this error when trying to init a project:
jordan@Air-Alex contracts % zksync-cli dev start
? Node to use In memory node
? Additional modules to use Block Explorer
You can change the config later with `npx zksync-cli dev config`
ⓘ There was an error while starting the testing environment:
ⓘ Command exited with code 16: unknown docker command: "compose Support/fnm/node-versions/v18.19.0/installation/lib/node_modules/zksync-cli/node_modules/zkcli-in-memory-node/docker-compose.yml"
file:///Users/jordan/Library/Application%20Support/fnm/node-versions/v18.19.0/installation/lib/node_modules/zksync-cli/bin/utils/helpers.js:52
reject(new Error(`Command exited with code ${code}: ${errorOutput}`));
^
Error: Command exited with code 16: unknown docker command: "compose Support/fnm/node-versions/v18.19.0/installation/lib/node_modules/zksync-cli/node_modules/zkcli-in-memory-node/docker-compose.yml"
at ChildProcess.<anonymous> (file:///Users/jordan/Library/Application%20Support/fnm/node-versions/v18.19.0/installation/lib/node_modules/zksync-cli/bin/utils/helpers.js:52:24)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at Socket.<anonymous> (node:internal/child_process:450:11)
at Socket.emit (node:events:517:28)
at Pipe.<anonymous> (node:net:350:12) {
level: 'error',
[Symbol(level)]: 'error',
[Symbol(message)]: '\x1B[91mⓘ Command exited with code 16: unknown docker command: "compose Support/fnm/node-versions/v18.19.0/installation/lib/node_modules/zksync-cli/node_modules/zkcli-in-memory-node/docker-compose.yml"\x1B[39m\n' +
'\x1B[91m\x1B[39m'
}
Node.js v18.19.0
I'm running a Docker Desktop, but I have no idea how it works, so I might need to enable something in it. Node and zksync-cli were just installed using brew and npm i respectively
🔄 Reproduction Steps
run docker desktop
brew install node
npm i -g zksync-cli
zksync-cli dev start
select all the stuff about the project
boom
🤔 Expected Behavior
the project initializes
😯 Current Behavior
the project does not initialize
🖥️ Environment
Package version: 1.7.2 (zksync-cli --version)
Node version: v18.19.0
NPM/Yarn version: npm 10.2.3
Operating System & Version: macOS 14.5 (23F79)
Other relevant environment details: Docker Desktop: Version 4.31.0 (153195) Engine: 26.1.4 Compose: v2.27.1-desktop.1 Credential Helper: v0.8.2 Kubernetes: v1.29.2
📋 Additional Context
ZKsync Docs say nothing about Docker at all but I just assumed it's necessary because of docker compose error.
The text was updated successfully, but these errors were encountered:
🐛 Bug Report for zkSync CLI
📝 Description
I'm not at all sure if it's actually a bug. I'm probably doing something wrong but still
I'm getting this error when trying to init a project:
I'm running a Docker Desktop, but I have no idea how it works, so I might need to enable something in it. Node and zksync-cli were just installed using brew and npm i respectively
🔄 Reproduction Steps
🤔 Expected Behavior
the project initializes
😯 Current Behavior
the project does not initialize
🖥️ Environment
Version 4.31.0 (153195) Engine: 26.1.4 Compose: v2.27.1-desktop.1 Credential Helper: v0.8.2 Kubernetes: v1.29.2
📋 Additional Context
ZKsync Docs say nothing about Docker at all but I just assumed it's necessary because of docker compose error.


The text was updated successfully, but these errors were encountered: