Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to update with AstroUpdate command #1353

Closed
4 tasks done
duytrung opened this issue Nov 19, 2022 · 8 comments · Fixed by #1369
Closed
4 tasks done

Not able to update with AstroUpdate command #1353

duytrung opened this issue Nov 19, 2022 · 8 comments · Fixed by #1369
Assignees
Labels
bug Something isn't working can't replicate

Comments

@duytrung
Copy link

Checklist

  • Using a stable version of Neovim (i.e. not neovim nightly)
  • :PackerSync
  • :AstroUpdate
  • Restarted AstroNvim

AstroNvim version

2.7.4

Neovim version (>= 0.8)

0.8

Operating system/version

Windows 10

Describe the bug

I have git installed and exist in the command path but when I use AstroUpdate it showed this message:
image

Here is the git:

Steps to Reproduce

  1. Run "git --version"
    image

  2. Run nvim
    image

  3. Run ":AstroUpdate"
    image

Expected behavior

I have the Ubuntu and did the same thing but AstroUpdate works

Screenshots

(None)

Additional Context

PackerSync is not available.
image

Run "AstroVersion" also did not work, and did not show anything

Thanks for consider the issue :-)

@duytrung duytrung added the bug Something isn't working label Nov 19, 2022
@breenbo
Copy link

breenbo commented Nov 19, 2022

Same here: all packer commands are gone (update, compile, sync).
AstroNvim : 2.7.4.-5-g777e31b
Neovim: v0.8.0

Thx.

@mehalter
Copy link
Member

@duytrung @breenbo please see the pinned issues #1294 for the packer issue.

@duytrung for the original issue if you open a terminal in AstroNvim with like :term what do you get if you run git?

@duytrung
Copy link
Author

@mehalter thanks for your suggestion, I ran the ":term" and then run "git". This is the result:
image

@teklabania
Copy link

Hi, same here, there are no Packer... commands since v2.6.5. When I checkout back to v2.6.4 everything gets back to normal.
NVIM v0.8.0 on Manjaro Linux

@mehalter
Copy link
Member

Again, @teklabania please see the issue I have linked above regarding the issue. This issue is also pinned to the top of the issues on the repository. Thank you!

@mehalter
Copy link
Member

@duytrung could you check out nightly branch manually by cding into the ~/.config/nvim folder and running

git pull
git checkout nightly

and then start nvim and see if :AstroUpdate works correctly? I changed the logic for how we are checking if git is available, and if should be alright now :D

@mehalter mehalter self-assigned this Nov 22, 2022
@mehalter mehalter mentioned this issue Nov 27, 2022
@binarad
Copy link

binarad commented Dec 12, 2023

How can i fix this? Someone pls help me im suck in astrovim
photo_2023-12-12_17-19-01

@mehalter
Copy link
Member

@binarad when you go to your ~/.config/nvim directory, if you run git status what do you get?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working can't replicate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants