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

error on running nvim #4

Open
VishalSharma0309 opened this issue May 15, 2021 · 1 comment
Open

error on running nvim #4

VishalSharma0309 opened this issue May 15, 2021 · 1 comment

Comments

@VishalSharma0309
Copy link
Collaborator

VishalSharma0309 commented May 15, 2021

Error on Running Neovim on POPos

Error detected while processing /home/vishalsharma/.config/nvim/init.vim:
line   33:
E5113: Error while calling lua chunk: ...ad/plugged/nvim-treesitter/lua/nvim-treesitter/query.lua:2: module 'vim.treesitter.query' not
found:
        no field package.preload['vim.treesitter.query']
        no file '/home/vishalsharma/.config/nvim/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/lua/vim/treesitter/query/init.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/night-owl.vim/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/night-owl.vim/lua/vim/treesitter/query/init.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-surround/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-surround/lua/vim/treesitter/query/init.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/targets.vim/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/targets.vim/lua/vim/treesitter/query/init.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-commentary/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-commentary/lua/vim/treesitter/query/init.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-speeddating/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-speeddating/lua/vim/treesitter/query/init.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-radical/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-radical/lua/vim/treesitter/query/init.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-repeat/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-repeat/lua/vim/treesitter/query/init.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/quick-scope/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/quick-scope/lua/vim/treesitter/query/init.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-context-commentstring/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-context-commentstring/lua/vim/treesitter/query/init.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-rooter/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-rooter/lua/vim/treesitter/query/init.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-sleuth/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/vim-sleuth/lua/vim/treesitter/query/init.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/nvim-treesitter/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/nvim-treesitter/lua/vim/treesitter/query/init.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/playground/lua/vim/treesitter/query.lua'
        no file '/home/vishalsharma/.config/nvim/autoload/plugged/playground/lua/vim/treesitter/query/init.lua'
@sansyrox
Copy link
Owner

sansyrox commented May 15, 2021

This looks like an issue with your NVIM installation.

  1. Remove the neovim from your /usr/local/bin and remove your config files.

  2. Execute the following script

sudo apt-get install libtool-bin

#!/bin/bash
cd ~
sudo rm -rf neovim
git clone https://github.com/neovim/neovim
cd neovim
sudo make CMAKE_BUILD_TYPE=Release install
cd ~
sudo rm -rf neovim
  1. Use the installation command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants