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
can't run PackerSync after upgrade to 2.6.5 #1294
Comments
me too |
Dang, I was worried about this 🤔 let me test the upgrade path. This came because I figured out how to lazy load Packer, I thought that I had fixed it to handle the migration but let me investigate it today! Sorry for the upgrade issue :/ |
This happened to me when upgrading to 2.6.0, so is not necessarily 2.6.5 😄 |
@matteo-hertel could you try pulling the latest (v2.6.5) and then delete your rm ~/.local/share/nvim/packer_compiled.lua And then open AstroNvim and see if it resolves it? |
Doing that
Now it opens default nvim. :-( |
Removing ~/.local/share/nvim worked |
Ah could you also delete the cache folder and see if that helps? rm -rf ~/.cache/nvim |
That worked. |
Yeah doing a full refresh would definitely work, was hoping to have a solution here that didn't require having to repull all the plugins and language servers that people behave installed. |
pulled the latest ( ran
Packer is back but after a packerSync I get an error
running |
That's your user config conflicting |
Is this expected to be an issue for anybody that upgraded to 2.6.5? |
I think so @zbroniszewski . Did you have this issue? Im Going to make an announcement about it across all the socials |
Just to summarize for anyone that runs into this: This is the easiest way to resolve the new lazy loaded packer migration without having to reinstall plugins or anything (Preferred method): rm ~/.local/share/nvim/packer_compiled.lua
rm -rf ~/.cache/nvim To be extra safe, you can also do a full refresh (Last resort): rm -rf ~/.local/site/nvim
rm -rf ~/.local/share/nvim
rm -rf ~/.cache/nvim After each of these, restart AstroNvim and run Sorry again for this inconvenience! This shouldn't happen again since we won't be moving packer again. 😞 |
I have also gone ahead and pinned this issue so that it remains visible for people who go to the repo to ask this question. I'll make a post on Discord and r/AstroNvim just to be safe as well. |
@mehalter I have not upgraded to 2.6.5 quite yet. Is there any way to avoid this issue for somebody who is preparing to upgrade? |
@zbroniszewski Just don't remove Packer. When asked hit |
@zbroniszewski @Mjb141 after you say no one time it will have the recompiled packer. On the endt startup it will ask you again to remove the packer installed to the |
Thanks @mehalter I will test this carefully and report back. If successful, perhaps we should consider another announcement for users who have not yet upgraded to 2.6.5. (Rather than allowing 2.6.5 to break things, then fix, in case there are other unknown side effects) |
Yeah that would be great @zbroniszewski let me know how your testing goes. Thanks so much for the help and investigation ! |
Even after this refresh I can't seem to get
|
Oh hold on I got it working now.
|
This worked for me neither, I had to revert back to v.2.6.4 |
@benvds can you please share more details |
Hi @mehalter, this may be me not understanding fully, but I have completely removed AstroNvim from my system, removed All I've achieved by doing this is reverting entirely back to the default install of Neovim. Any ideas where to go from here? EDIT |
@alexandersix once you have compiled and verified that the new code is in the |
@mehalter Where can I find the |
@alexandersix that error would be happening because you didn't clear your Neovim cache. Please make sure to follow the steps I laid out above :) |
@mehalter Strange, I cleared it all out and followed those steps prior to needing to re-install packer (those steps are what caused me to not be able to to run Packer until I re-installed it). Not sure why those steps didn't work the first time, but all seems to be well over here this time. |
I followed the recommended solution steps and it worked for me. |
I ran into the same difficult as @alexandersix after following the recommended approach from @mehalter. After reading the later message from @mehalter that I should say "No" to the first time it asks me if I want to remove packer from the 'start' folder, my second attempt worked. I was able to say yes to removing it on the second prompt after it recompiled and looks like everything is working. Thanks for the information in this thread and your work on this software. 👍 |
i also got things working again by clearing all:
and then doing a clean checkout |
same issue with all of the tips |
|
This project is so cool 😊😍🚀 P.S.: perhaps a well noticeable, temporary, note/walk-through to solve this (or future) kind of 😱 issues could be provided in the README 😀 |
The original solution comment
The windows paths are:
One can delete them by sticking a
|
Thanks for this @Rafael-Conde ! I'll also link it at the top! |
It's a pleasure to be of help @mehalter !!! Let me know if there is anything else I could do!! |
I keep facing this issue after updating to the latest 2.9.1 even when I tried to remove all related folders and reinstall. At last, I just follow the error message so I install packer manually: git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim Then open AstroNvim again, and it worked. Now just enter 'y' when it asked to remove the packer installation. |
@convers39 no worries, you can say yes there and remove the packer installed in the start folder |
Hey, this is my first time trying nvim, I was recommended this ... but apparently this issue's got me anyhow, even though I don't think I'm upgrading or anything. (Maybe in a previous life I tried Packer before uninstalling nvim?) Is there some even more extreme "kill everything" set of commands I can run (ha ha "sudo rm /") to just not deal with this at all? Given that none of the commands so far posted help at all? |
SOLVED. It wasn't related to this problem. The problem was I was using Ubuntu's neovim, which is old. Removed that, installed from nvim's official recent deb, and BOOM everything worked. Responding in case someone else has the same problem :) . |
Question
I can't run :PackerSync after the last update.
SOLUTION #1294 (comment)
Windows Solution #1294 (comment)
The text was updated successfully, but these errors were encountered: