Replies: 7 comments 3 replies
-
I am facing the same issue too |
Beta Was this translation helpful? Give feedback.
-
just run it from PowerShell if you on windows |
Beta Was this translation helpful? Give feedback.
-
I was facing same issue.... Error is gone for me |
Beta Was this translation helpful? Give feedback.
-
Was having the same issue. Just had to upgrade my neovim to 0.5+. I did not realize I was on 0.4. The in-depth steps I used to solve this problem: For me make sure your neovim --version => 0.5+, If this condition is satisfied, install Packer using the normal commands for unix/linux:
You can then configure lua based neovim(0.5+) by, in -- Change tab to be 2 spaces not 8
vim.bo.expandtab = true
vim.bo.shiftwidth = 2
vim.bo.softtabstop = 2
-- Packer
require('packer').startup(function()
use 'wbthomason/packer.nvim'
end) You may verify the installation by checking that |
Beta Was this translation helpful? Give feedback.
-
@wjyoumans so you didn't find a solution yet? I just tried to open nvim and encountered the same issue. Didn't find a solution yet. |
Beta Was this translation helpful? Give feedback.
-
Same issue with NVIM v0.7.2. |
Beta Was this translation helpful? Give feedback.
-
@wjyoumans your Packer config is missing the Here is the correct code: return require('packer').startup(function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
end) |
Beta Was this translation helpful? Give feedback.
-
I'm trying to install packer.nvim using the quickstart guide. I cloned the repository using
and created the file
~/.config/nvim/lua/plugins.lua
with these contents:My
~/.config/nvim/init.vim
has only the linelua require('plugins')
.When I run
nvim
I get the following error:I tried checking my
packpath
in neovim with:set packpath?
but I'm not sure whether it's correct or not.What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions