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

Errors on fresh install #32

Closed
cybardev opened this issue Feb 9, 2022 · 6 comments
Closed

Errors on fresh install #32

cybardev opened this issue Feb 9, 2022 · 6 comments
Labels
question Further information is requested

Comments

@cybardev
Copy link

cybardev commented Feb 9, 2022

I'm sorry if this is a repeat of the other issues. I just don't understand what I can do about these. Sorry if these are irrelevant.

Here are my error logs:

Error logs

Error detected while processing InsertEnter Autocommands for "*":
E5108: Error executing lua ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: Vim(echomsg):E114: Missing quote: "Error in packer_compiled: ...m/site/pack/packer/start/packer.nvim/lua/packer/load.l
ua:110: Vim(lua):E5108: Error executing lua ...pack/packer/start/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:48: module 'cmp' not found:
stack traceback:
        [C]: in function 'cmd'
        ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: in function <...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:161>
        [string ":lua"]:1: in main chunk
Press ENTER or type command to continue
Error detected while processing InsertEnter Autocommands for "*":
E5108: Error executing lua ...pack/packer/start/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:48: module 'cmp' not found:
        no field package.preload['cmp']No cache entry
        no file './cmp.lua'
        no file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/share/luajit-2.1.0-beta3/cmp.lua'
        no file '/usr/local/share/lua/5.1/cmp.lua'
        no file '/usr/local/share/lua/5.1/cmp/init.lua'
        no file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/share/lua/5.1/cmp.lua'
        no file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/share/lua/5.1/cmp/init.lua'
        no file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/cmp.lua'
        no file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/cmp/init.lua'
        no file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/cmp.lua'
        no file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/cmp/init.lua'
        no file './cmp.so'
        no file '/usr/local/lib/lua/5.1/cmp.so'
        no file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/lib/lua/5.1/cmp.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/cmp.so'
stack traceback:
        [C]: in function 'require'
        ...pack/packer/start/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:48: in function '_on_insert_enter'
        [string ":lua"]:1: in main chunk
Press ENTER or type command to continue

packer.nvim: Error running config for nvim-autopairs: ...ck/packer/start/impatient.nvim/lua/impatient/profile.lua:148: ...ck/packer/start/impatient.nvim/lua/impatient/profile.lua:148: module 'cmp' not found:
^Ino field package.preload['cmp']No cache entry
^Ino file './cmp.lua'
^Ino file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/share/luajit-2.1.0-beta3/cmp.lua'
^Ino file '/usr/local/share/lua/5.1/cmp.lua'
^Ino file '/usr/local/share/lua/5.1/cmp/init.lua'
^Ino file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/share/lua/5.1/cmp.lua'
^Ino file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/share/lua/5.1/cmp/init.lua'
^Ino file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/cmp.lua'
^Ino file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/cmp/init.lua'
^Ino file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/cmp.lua'
^Ino file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/cmp/init.lua'
^Ino file './cmp.so'
^Ino file '/usr/local/lib/lua/5.1/cmp.so'
^Ino file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/lib/lua/5.1/cmp.so'
^Ino file '/usr/local/lib/lua/5.1/loadall.so'
Press ENTER or type command to continue
^Ino file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/cmp.so'
Press ENTER or type command to continue

@kabinspace
Copy link
Member

@cybardev Which OS are you using?

@ArekkusuDev
Copy link

@kabinspace I think he uses Mac, I see that some errors that the log shows come from the "/Users" folder

@cybardev
Copy link
Author

cybardev commented Feb 9, 2022

@kabinspace Sorry, I forgot to mention that. I do use a Mac, as srRyo suggested.

Some more info: I don't see these when opening up a file and pressing i. It only appears when starting nvim and pressing Spce f n to create new file and pressing i for insert mode.

@kabinspace
Copy link
Member

kabinspace commented Feb 10, 2022

@cybardev Sorry, AstroVim has only been properly tested for Linux, I can't provide any support on issues with macOS or Windows.

@cybardev
Copy link
Author

Ah, I see. Thanks for the heads up.

@kabinspace
Copy link
Member

@cybardev You can join the discord server if you want, there is someone who runs AstroVim on his macOS, he might be able to help you in this case.

@mehalter mehalter added the question Further information is requested label Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants