You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NVIM v0.7.0-dev+1083-g758d7726d
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by [email protected]
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/Cellar/neovim/HEAD-758d772/share/nvim"
Run :checkhealth for more info
git --version:
git version 2.30.1 (Apple Git-130)
Operating system/version:
Terminal name/version:
Steps to reproduce
Actual behaviour
can't install lua modules
Expected behaviour
Install lua modules
require("luasocket")
packer files
packer log file
Post the contents of ~/.cache/nvim/packer.nvim.log here
[WARN Sun Mar 6 10:23:49 2022 3.5932950678468e+14] ...im/site/pack/packer/opt/packer.nvim/lua/packer/clean.lua:79: Cleaning cancelled!
[ERROR Sun Mar 6 10:24:14 2022 3.5935401737327e+14] ...site/pack/packer/opt/packer.nvim/lua/packer/luarocks.lua:104: Failed to install hererocks: {
exit_code = 1,
signal = 0
}
packer compiled file
Post the contents of packer_compiled.vim here
-- Automatically generated packer.nvim plugin loader codeifvim.api.nvim_call_function('has', {'nvim-0.5'}) ~=1thenvim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"')
returnendvim.api.nvim_command('packadd packer.nvim')
localno_errors, error_msg=pcall(function()
localtimelocalprofile_infolocalshould_profile=falseifshould_profilethenlocalhrtime=vim.loop.hrtimeprofile_info= {}
time=function(chunk, start)
ifstartthenprofile_info[chunk] =hrtime()
elseprofile_info[chunk] = (hrtime() -profile_info[chunk]) /1e6endendelsetime=function(chunk, start) endendlocalfunctionsave_profiles(threshold)
localsorted_times= {}
forchunk_name, time_takeninpairs(profile_info) dosorted_times[#sorted_times+1] = {chunk_name, time_taken}
endtable.sort(sorted_times, function(a, b) returna[2] >b[2] end)
localresults= {}
fori, eleminipairs(sorted_times) doifnotthresholdorthresholdandelem[2] >thresholdthenresults[i] =elem[1] ..' took ' ..elem[2] ..'ms'endend_G._packer=_G._packeror {}
_G._packer.profile_output=resultsendtime([[Luarocks path setup]], true)
localpackage_path_str="/Users/xxxxx/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/Users/xxxxxx/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/Users/xxxxxx/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/Users/xxxxxx/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"localinstall_cpath_pattern="/Users/xxxxx/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"ifnotstring.find(package.path, package_path_str, 1, true) thenpackage.path=package.path..';' ..package_path_strendifnotstring.find(package.cpath, install_cpath_pattern, 1, true) thenpackage.cpath=package.cpath..';' ..install_cpath_patternendtime([[Luarocks path setup]], false)
time([[try_loadstring definition]], true)
localfunctiontry_loadstring(s, component, name)
localsuccess, result=pcall(loadstring(s), name, _G.packer_plugins[name])
ifnotsuccessthenvim.schedule(function()
vim.api.nvim_notify('packer.nvim: Error running ' ..component..' for ' ..name..': ' ..result, vim.log.levels.ERROR, {})
end)
endreturnresultendtime([[try_loadstring definition]], false)
time([[Defining packer_plugins]], true)
_G.packer_plugins= {
conjure= {
loaded=true,
needs_bufread=false,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/opt/conjure",
url="https://github.com/Olical/conjure"
},
["dashboard-nvim"] = {
config= { "\27LJ\2\n�\3\0\0\3\0\4\0\t6\0\0\0009\0\1\0'\2\2\0B\0\2\0016\0\0\0009\0\1\0'\2\3\0B\0\2\1K\0\1\0½\2 let g:dashboard_custom_shortcut={\n\\ 'last_session' : 'SPC l s l',\n\\ 'find_history' : 'SPC l f h',\n\\ 'find_file' : 'SPC l f f',\n\\ 'new_file' : 'SPC l c n',\n\\ 'change_colorscheme' : 'SPC l t c',\n\\ 'find_word' : 'SPC l f a',\n\\ 'book_marks' : 'SPC l f b',\n\\ }3let g:dashboard_default_executive ='telescope'\bcmd\bvim\0" },
loaded=true,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/start/dashboard-nvim",
url="https://github.com/glepnir/dashboard-nvim"
},
["fennel-nvim"] = {
loaded=true,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/start/fennel-nvim",
url="https://github.com/jaawerth/fennel-nvim"
},
["fennel.vim"] = {
loaded=true,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/start/fennel.vim",
url="https://github.com/bakpakin/fennel.vim"
},
["glow.nvim"] = {
commands= { "Glow", "GlowInstall" },
loaded=false,
needs_bufread=false,
only_cond=false,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/opt/glow.nvim",
url="https://github.com/ellisonleao/glow.nvim"
},
["lua-async-await"] = {
loaded=true,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/start/lua-async-await",
url="https://github.com/ms-jpq/lua-async-await"
},
["minimap.vim"] = {
config= { "\27LJ\2\nV\0\0\2\0\3\0\a6\0\0\0)\1\1\0=\1\1\0006\0\0\0)\1\1\0=\1\2\0K\0\1\0!minimap_auto_start_win_enter\23minimap_auto_start\a_G\0" },
loaded=true,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/start/minimap.vim",
url="https://github.com/wfxr/minimap.vim"
},
nerdtree= {
loaded=true,
needs_bufread=false,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/opt/nerdtree",
url="https://github.com/preservim/nerdtree"
},
["nvim-local-fennel"] = {
loaded=true,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/start/nvim-local-fennel",
url="https://github.com/Olical/nvim-local-fennel"
},
["nvim-minimap"] = {
config= { "\27LJ\2\nt\0\0\3\0\4\0\t6\0\0\0009\0\1\0'\2\2\0B\0\2\0016\0\0\0009\0\1\0'\2\3\0B\0\2\1K\0\1\0%let g:minimap#window#height = 50$let g:minimap#window#width = 10\bcmd\bvim\0" },
loaded=true,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/start/nvim-minimap",
url="https://github.com/rinx/nvim-minimap"
},
["nvim-transparent"] = {
loaded=true,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/start/nvim-transparent",
url="https://github.com/xiyaowong/nvim-transparent"
},
["nvim-treesitter"] = {
config= { "\27LJ\2\nû\1\0\0\5\0\n\0\r6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0=\3\5\0025\3\6\0005\4\a\0=\4\b\3=\3\t\2B\0\2\1K\0\1\0\14highlight\fdisable\1\4\0\0\6c\trust\blua\1\0\2\venable\2&additional_vim_regex_highlighting\1\19ignore_install\1\2\0\0\15javascript\1\0\2\21ensure_installed\15maintained\17sync_install\1\nsetup\28nvim-treesitter.configs\frequire\0" },
loaded=true,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
url="https://github.com/nvim-treesitter/nvim-treesitter"
},
["packer.nvim"] = {
loaded=true,
needs_bufread=false,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/opt/packer.nvim",
url="https://github.com/wbthomason/packer.nvim"
},
["plenary.nvim"] = {
loaded=true,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/start/plenary.nvim",
url="https://github.com/nvim-lua/plenary.nvim"
},
["telescope.nvim"] = {
loaded=true,
needs_bufread=true,
path="/Users/xxxxx/.local/share/nvim/site/pack/packer/opt/telescope.nvim",
url="https://github.com/nvim-telescope/telescope.nvim"
}
}
time([[Defining packer_plugins]], false)
-- Setup for: nerdtreetime([[Setup for nerdtree]], true)
try_loadstring("\27LJ\2\n°\1\0\0\3\0\5\0\r6\0\0\0009\0\1\0'\2\2\0B\0\2\0016\0\0\0009\0\1\0'\2\3\0B\0\2\0016\0\0\0009\0\1\0'\2\4\0B\0\2\1K\0\1\0(nnoremap <space>n :NERDTreeFind<CR>*nnoremap <space>s :NERDTreeToggle<CR>'nnoremap <space>r :NERDTreeCWD<CR>\bcmd\bvim\0", "setup", "nerdtree")
time([[Setup for nerdtree]], false)
time([[packadd for nerdtree]], true)
vim.cmd[[packadd nerdtree]]time([[packadd for nerdtree]], false)
-- Setup for: packer.nvimtime([[Setup for packer.nvim]], true)
try_loadstring("\27LJ\2\n\v\0\0\1\0\0\0\1K\0\1\0\0", "setup", "packer.nvim")
time([[Setup for packer.nvim]], false)
time([[packadd for packer.nvim]], true)
vim.cmd[[packadd packer.nvim]]time([[packadd for packer.nvim]], false)
-- Setup for: telescope.nvimtime([[Setup for telescope.nvim]], true)
try_loadstring("\27LJ\2\n�\2\0\0\3\0\6\0\0176\0\0\0009\0\1\0'\2\2\0B\0\2\0016\0\0\0009\0\1\0'\2\3\0B\0\2\0016\0\0\0009\0\1\0'\2\4\0B\0\2\0016\0\0\0009\0\1\0'\2\5\0B\0\2\1K\0\1\0005nnoremap <leader>th <cmd>Telescope help_tags<cr>3nnoremap <leader>tb <cmd>Telescope buffers<cr>5nnoremap <leader>tg <cmd>Telescope live_grep<cr>6nnoremap <leader>tf <cmd>Telescope find_files<cr>\bcmd\bvim\0", "setup", "telescope.nvim")
time([[Setup for telescope.nvim]], false)
time([[packadd for telescope.nvim]], true)
vim.cmd[[packadd telescope.nvim]]time([[packadd for telescope.nvim]], false)
-- Setup for: conjuretime([[Setup for conjure]], true)
try_loadstring("\27LJ\2\n\v\0\0\1\0\0\0\1K\0\1\0\0", "setup", "conjure")
time([[Setup for conjure]], false)
time([[packadd for conjure]], true)
vim.cmd[[packadd conjure]]time([[packadd for conjure]], false)
-- Config for: minimap.vimtime([[Config for minimap.vim]], true)
try_loadstring("\27LJ\2\nV\0\0\2\0\3\0\a6\0\0\0)\1\1\0=\1\1\0006\0\0\0)\1\1\0=\1\2\0K\0\1\0!minimap_auto_start_win_enter\23minimap_auto_start\a_G\0", "config", "minimap.vim")
time([[Config for minimap.vim]], false)
-- Config for: nvim-treesittertime([[Config for nvim-treesitter]], true)
try_loadstring("\27LJ\2\nû\1\0\0\5\0\n\0\r6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0=\3\5\0025\3\6\0005\4\a\0=\4\b\3=\3\t\2B\0\2\1K\0\1\0\14highlight\fdisable\1\4\0\0\6c\trust\blua\1\0\2\venable\2&additional_vim_regex_highlighting\1\19ignore_install\1\2\0\0\15javascript\1\0\2\21ensure_installed\15maintained\17sync_install\1\nsetup\28nvim-treesitter.configs\frequire\0", "config", "nvim-treesitter")
time([[Config for nvim-treesitter]], false)
-- Config for: dashboard-nvimtime([[Config for dashboard-nvim]], true)
try_loadstring("\27LJ\2\n�\3\0\0\3\0\4\0\t6\0\0\0009\0\1\0'\2\2\0B\0\2\0016\0\0\0009\0\1\0'\2\3\0B\0\2\1K\0\1\0½\2 let g:dashboard_custom_shortcut={\n\\ 'last_session' : 'SPC l s l',\n\\ 'find_history' : 'SPC l f h',\n\\ 'find_file' : 'SPC l f f',\n\\ 'new_file' : 'SPC l c n',\n\\ 'change_colorscheme' : 'SPC l t c',\n\\ 'find_word' : 'SPC l f a',\n\\ 'book_marks' : 'SPC l f b',\n\\ }3let g:dashboard_default_executive ='telescope'\bcmd\bvim\0", "config", "dashboard-nvim")
time([[Config for dashboard-nvim]], false)
-- Config for: nvim-minimaptime([[Config for nvim-minimap]], true)
try_loadstring("\27LJ\2\nt\0\0\3\0\4\0\t6\0\0\0009\0\1\0'\2\2\0B\0\2\0016\0\0\0009\0\1\0'\2\3\0B\0\2\1K\0\1\0%let g:minimap#window#height = 50$let g:minimap#window#width = 10\bcmd\bvim\0", "config", "nvim-minimap")
time([[Config for nvim-minimap]], false)
-- Command lazy-loadstime([[Defining lazy-load commands]], true)
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Glow lua require("packer.load")({'glow.nvim'}, { cmd = "Glow", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file GlowInstall lua require("packer.load")({'glow.nvim'}, { cmd = "GlowInstall", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
time([[Defining lazy-load commands]], false)
ifshould_profilethensave_profiles() endend)
ifnotno_errorsthenerror_msg=error_msg:gsub('"', '\\"')
vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None')
end
The text was updated successfully, but these errors were encountered:
Thanks for the reply.
I noticed this Issue is same as Luarocks fails to install on macOS BigSur #180 a while ago.
So, the issue #850 is fixed by writing vim.fn.setenv("MACOSX_DEPLOYMENT_TARGET", "10.15") on top of the plugins.lua.
nvim --version
:git --version
:Steps to reproduce
Actual behaviour
can't install lua modules
Expected behaviour
Install lua modules
packer files
packer compiled file
Post the contents of
packer_compiled.vim
hereThe text was updated successfully, but these errors were encountered: