matter-labs / matter-labs/zksync-cli
Bug: zksync-cli create returns fatal error
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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