mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-28 09:54:33 +00:00
45d4de75b3
## Error
```sh
./script/install-linux
+ [[ 0 -gt 0 ]]
+ export ZED_CHANNEL=dev
+ ZED_CHANNEL=dev
++ pwd
+ export 'ZED_UPDATE_EXPLANATION=You need to fetch and rebuild zed in /home/adityakrcodes/repos/zed'
+ ZED_UPDATE_EXPLANATION='You need to fetch and rebuild zed in /home/adityakrcodes/repos/zed'
+ script/bundle-linux
+ getopts h flag
+ export ZED_BUNDLE=true
+ ZED_BUNDLE=true
+ channel=dev
++ script/get-crate-version zed
script/get-crate-version: line 16: jq: command not found <-- ERROR
+ version=
```
The script fails to install zed on Arch Linux due to a missing
dependency, `jq`.
## My machine info
OS: Arch Linux
Kernel: 6.6.34-1-lts
WM: dwm
Terminal: kitty
CPU: Ryzen 5 5500U with Radeon Graphics
GPU: AMD ATI 04:00.0 Lucienne
Memory: 16 GB
## Error Description
The error occurs when running the script in `script/install-linux`,
which is unable to find the `jq` package, which is not installed by
default on the machine.
## Solution
To resolve this issue, you can install `jq` independently by running
`sudo pacman -S jq`. Alternatively, I have updated script `script/linux`
to include `jq` as a dependency ([link to the
commit](
|
||
---|---|---|
.. | ||
danger | ||
eula | ||
flatpak | ||
lib | ||
licenses | ||
update_top_ranking_issues | ||
analyze_highlights.py | ||
bootstrap | ||
bump-extension-cli | ||
bump-nightly | ||
bump-zed-minor-versions | ||
bump-zed-patch-version | ||
bundle-linux | ||
bundle-mac | ||
check-licenses | ||
clear-target-dir-if-larger-than | ||
clippy | ||
collab-flamegraph | ||
crate-dep-graph | ||
create-migration | ||
deploy-collab | ||
deploy-postgrest | ||
draft-release-notes | ||
drop-test-dbs | ||
generate-eula-rtf | ||
generate-licenses | ||
get-changes-since | ||
get-crate-version | ||
get-preview-channel-changes | ||
get-released-version | ||
histogram | ||
import-themes | ||
install-linux | ||
install.sh | ||
kube-shell | ||
linux | ||
metal-debug | ||
randomized-test-ci | ||
randomized-test-minimize | ||
reset_db | ||
run-local-minio | ||
seed-db | ||
sqlx | ||
squawk | ||
storybook | ||
symbolicate | ||
trigger-release | ||
upload-extension-cli | ||
upload-nightly | ||
what-is-deployed | ||
zed-local |