Issue attempting to install LazyVim

Howdy all,

After messing around in vanilla arch for awhile I wanted a care-free install for arch, specificly with sway, and for the most part Garuda fits the bill!

However I’m having an issue installing LazyVim. After cloning the starter, and running nvim it returns an error about ‘permission denied’, then boots up into vanilla neovim with no scripts. I figured it might have something to do with privileges… however running ‘sudo nvim’, while addressing the ‘permission denied’ error, still results in no install scripts running.

I fairly new to linux, but I’m not afraid of CLI or anything. Any help would be appreciated.

Hi there, welcome to the forum.
Please always provide the output of your garuda-inxi, as required in the topic template.
I’m not a user of neovim or the like. I just gave a quick look at their LazyVim GitHub site and noticed they say that nvim-treesitter is a requirement.
How did you install it? I’m asking because in the relevant GitHub site, I found a closed issue mentioning an error probably similar to yours, where they say to avoid using the AUR package (which would have been my first choice, that’s why I’m asking):

1 Like

Ah, Here’s my garuda-inxi:

System:
  Kernel: 6.9.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=5c022225-29dc-442c-8b8c-663e1f25c0f6 rw rootflags=subvol=@
    quiet resume=UUID=63ddfa8e-211b-4347-a06d-3f13cd7674f0 loglevel=3 ibt=off
  Desktop: Sway v: 0.4 with: waybar tools: swayidle avail: swaylock
    lm: greetd Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Aspire S5-371T v: V1.08
    serial: <superuser required>
  Mobo: Acer model: Minicooper_SK v: V1.08 serial: <superuser required>
    part-nu: Aspire S5-371T_1126_V1.08 uuid: <superuser required> UEFI: Insyde
    v: 1.08 date: 10/24/2016
Battery:
  ID-1: BAT1 charge: 12.5 Wh (31.3%) condition: 39.9/54.2 Wh (73.6%)
    volts: 10.9 min: 11.6 model: COMPAL PABAS0241231 type: Li-ion
    serial: <filter> status: discharging
CPU:
  Info: model: Intel Core i3-7100U bits: 64 type: MT MCP arch: Amber/Kaby Lake
    note: check gen: core 7 level: v3 note: check built: 2017
    process: Intel 14nm family: 6 model-id: 0x8E (142) stepping: 9
    microcode: 0xF4
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 625 high: 700 min/max: 400/2400 scaling:
    driver: intel_pstate governor: powersave cores: 1: 700 2: 700 3: 700 4: 400
    bogomips: 19200
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel HD Graphics 620 vendor: Acer Incorporated ALI driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:5916
    class-ID: 0300
  Device-2: Chicony HD WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-7:5 chip-ID: 04f2:b580
    class-ID: 0e02
  Display: wayland server: Xwayland v: 24.1.0 compositor: Sway v: 0.4
    driver: gpu: i915 display-ID: 1
  Monitor-1: eDP-1 model: AU Optronics 0x102d built: 2015 res: 1920x1080
    hz: 60 dpi: 166 gamma: 1.2 scale: 1 size: 293x165mm (11.54x6.5")
    diag: 336mm (13.2") ratio: 16:9 modes: 1920x1080
  API: Vulkan v: 1.3.279 layers: 3 device: 0 type: integrated-gpu name: Intel
    HD Graphics 620 (KBL GT2) driver: mesa intel v: 24.1.0-arch1.1
    device-ID: 8086:5916 surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
    v: 24.1.0-arch1.1 (LLVM 17.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_soc_avs
    bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403
  API: ALSA v: k6.9.2-zen1-1-zen status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Foxconn driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 01:00.0 chip-ID: 168c:003e class-ID: 0280 temp: 48.0 C
  IF: wlp1s0 state: up mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Foxconn / Hon Hai driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:3 chip-ID: 0489:e09f
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 8 state: up address: <filter> bt-v: 4.2
    lmp-v: 8 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
  Local Storage: total: 119.24 GiB used: 12.8 GiB (10.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: SK Hynix model: HFS128G39TND-N210A
    size: 119.24 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 1P10 scheme: GPT
Partition:
  ID-1: / raw-size: 110.15 GiB size: 110.15 GiB (100.00%)
    used: 12.8 GiB (11.6%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 110.15 GiB size: 110.15 GiB (100.00%)
    used: 12.8 GiB (11.6%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 110.15 GiB size: 110.15 GiB (100.00%)
    used: 12.8 GiB (11.6%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 110.15 GiB size: 110.15 GiB (100.00%)
    used: 12.8 GiB (11.6%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 7.62 GiB used: 1.78 GiB (23.4%)
    priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda3 maj-min: 8:3
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB available: 7.63 GiB used: 4.73 GiB (62.1%)
  Processes: 306 Power: uptime: 10d 7h 55m states: freeze,mem,disk
    suspend: deep avail: s2idle wakeups: 5 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 3.04 GiB services: upowerd
    Init: systemd v: 255 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1260 libs: 415 tools: pacseek,paru Compilers:
    clang: 17.0.6 gcc: 14.1.1 Shell: garuda-inxi default: fish v: 3.7.1
    running-in: foot inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2024-05-29
  Last full system update: 2024-06-04 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            

As for installation method of LazyVim, I followed these directions: 🛠️ Installation | LazyVim

I don’t believe I’ve used the AUR yet. Just installed neovim via pacman.

I was rather checking the upstream GitHub site, and particularly the requirements (4th bullet point):

I have no idea on how to install this nvim-treesitter, since it is not in the Arch repo, the AUR package should not be used, and I have no idea of what they mean with :using the native package feature of vim, see h packages :slight_smile: (as said, I don’t use it).

2 Likes

There looks to be a video for how to get this set up on their site:

I’m honestly not sure if that is helpful or not. Perhaps we should call on one of the community’s Vim experts like @Ankur or @NaN. :loudspeaker:

2 Likes

Can you screenshot or copy paste the error? This is a little too abstract.

1 Like

Hmm… Did you followed this guide properly :

I used it and I can’t find any problem the way you said , the installation was very smooth for me atleast …

Well… going back to my personal config now, this one is not for me :moyai:
And also conflicts with my own config…

PS : I just love my custom configs … :slightly_smiling_face:
and you should try to make one for your own too …

Yeah that’s fair. I can’t upload the image here, being a new user and all.

Here’s an imgur link: Imgur: The magic of the Internet

Apologies for the late reply, nice to see how active/friendly everyone is here.

Hmm… I can’t regenerate this error in any way, the installation is going smooth and completes with no problem,

can you make a different login user and try it again in new user account ??
and please give the out put of garuda-inxi
it help us a lot to diagnose the problem :slightly_smiling_face:
we can’t help you any further without it…

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.