matter-labs / matter-labs/zksync-cli

Bug: zksync-cli create returns fatal error

Open
#192 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
168
Forks
99
PR merge metrics
No merged PRs in 30d

Description

## Description
The `zksync-cli create` function is no longer working properly. When called, a fatal error is returned, possibly an issue with a `git clone`.

```
✖ Failed to clone template
ⓘ There was an error while creating new project:
ⓘ Command exited with code 129: fatal: Too many arguments.
```

## Steps to reproduce
1. Install `zksync-cli`. Tested using yarn and npm
2. Run `npx zksync-cli create` and follow interactive prompts
3. Terminal returns fatal error.

## 🖥️ Environment

- **Package version**: 1.12.1
- **Node version**: node v22.13.1
- **NPM/Yarn version**: npm 10.9.2
- **Operating System & Version**: Windows 11 24H2

## Additional Info

The original documentation that outlined this function for preparing solidity dev environments for deploying to EraVM is no longer accessible.

The original documentation was previously accessible at https://docs.zksync.io/zksync-era/tooling/hardhat/plugins/hardhat-zksync-deploy.html

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with `npx zksync-cli create` on Windows 11 and trace the `Failed to clone template` path, especially the `git clone` command. Confirm the fix by completing the interactive flow without the fatal “Too many arguments” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, node.js, typescript
Domain
cli, developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.