Skip to content

Commit

Permalink
fix: 🐛 Add 'undici' package to support 'yarn' (#73)
Browse files Browse the repository at this point in the history
## Why?

When `@fleek-platform/cli` is installed globally using Yarn, the fleek
sites deploy command fails with the error message:
```
❌ Error: Upload failed.
```

## How?

- Added `undici` package to fix the issue

## Tickets?

-
[PLAT-1900](https://linear.app/fleekxyz/issue/PLAT-1900/yarn-global-installation-of-fleek-platformcli-fails-site-deployment)

## Contribution checklist?

- [x] The commit messages are detailed
- [x] The `build` command runs locally
- [ ] Assets or static content are linked and stored in the project
- [x] You have manually tested
- [ ] You have provided tests

## Security checklist?

- [ ] Sensitive data has been identified and is being protected properly
- [ ] Injection has been prevented (parameterized queries, no eval or
system calls)
  • Loading branch information
kkudryaev authored Dec 13, 2024
1 parent 7784a95 commit 438b2a1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/pink-gifts-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fleek-platform/cli": patch
---

Add "undici" package to support "yarn"
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"prompts": "^2.4.2",
"semver": "^7.3.8",
"ts-node": "10.9.1",
"undici": "^7.1.0",
"unique-names-generator": "^4.7.1",
"update-notifier-cjs": "^5.1.6"
},
Expand Down
13 changes: 11 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 438b2a1

Please sign in to comment.