ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.83k stars 451 forks source link

Error occurred during installation #1126

Closed Penguin-SAMA closed 2 months ago

Penguin-SAMA commented 6 months ago

Version confirmation

Following prerequisites

Not a user config issue

Neovim version

NVIM v0.10.0-dev-9af03bc

Operating system/version

Windows11

Terminal name/version

Powershell7

$TERM environment variable

No response

Branch info

main (Default/Latest)

Fetch Preferences

SSH (use_ssh = true)

How to reproduce the issue

image

Expected behavior

no error

Actual behavior

No response

Additional information

No response

ayamir commented 6 months ago
  1. delete folder: C:\Users\Pengu\AppData\Local\nvim-data\site
  2. check your network then reinstall
Penguin-SAMA commented 6 months ago

The above steps did not work for me, but the problem was solved after I manually created the site/lazy folder and cloned lazy.nvim into it

CharlesChiuGit commented 2 months ago

Can reproduce.

This seems like and path seperater issue when doing git clone.

I'll draft a pr to fix this.

CharlesChiuGit commented 2 months ago

hmmm, sth seems to be wrong when execute git in nvim command mode. When I used :!git clone --filter=blob:none --branch=stable https://github.com/folke/lazy.nvim.git C:\Users\xxx\AppData\Local\nvim-data\site\lazy\lazy.nvim in command mode`, it did do anything.

If I use git clone --filter=blob:none --branch=stable https://github.com/folke/lazy.nvim.git C:\Users\xxx\AppData\Local\nvim-data\site\lazy\lazy.nvim directly in pwsh, it works fine.

ayamir commented 2 months ago

image Can't repro for me

CharlesChiuGit commented 2 months ago

have u set anything in your powershell profile? or change any permissions?

btw i install neovim-nightly via scoop, which is the latest version: neovim-nightly 0.10.0-2889 versions 2024-04-13 18:28:37

CharlesChiuGit commented 2 months ago

ys, can confirmed our main branch works on nvim 0.9.5 installed via scoop, but won't work on 0.10.0.

CharlesChiuGit commented 2 months ago

i'll try to check if their anything we need to change to make it work and make a PR to 0.10.0 branch.