Closed Cassin01 closed 2 years ago
check if you have "unzip" installed. I think this have to be documented.
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
: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 2.30.1 (Apple Git-130)
require("luasocket")
packer compiled file
Post the contents of `packer_compiled.vim` here ```lua -- Automatically generated packer.nvim plugin loader code if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"') return end vim.api.nvim_command('packadd packer.nvim') local no_errors, error_msg = pcall(function() local time local profile_info local should_profile = false if should_profile then local hrtime = vim.loop.hrtime profile_info = {} time = function(chunk, start) if start then profile_info[chunk] = hrtime() else profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6 end end else time = function(chunk, start) end end local function save_profiles(threshold) local sorted_times = {} for chunk_name, time_taken in pairs(profile_info) do sorted_times[#sorted_times + 1] = {chunk_name, time_taken} end table.sort(sorted_times, function(a, b) return a[2] > b[2] end) local results = {} for i, elem in ipairs(sorted_times) do if not threshold or threshold and elem[2] > threshold then results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms' end end _G._packer = _G._packer or {} _G._packer.profile_output = results end time([[Luarocks path setup]], true) local package_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" local install_cpath_pattern = "/Users/xxxxx/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so" if not string.find(package.path, package_path_str, 1, true) then package.path = package.path .. ';' .. package_path_str end if not string.find(package.cpath, install_cpath_pattern, 1, true) then package.cpath = package.cpath .. ';' .. install_cpath_pattern end time([[Luarocks path setup]], false) time([[try_loadstring definition]], true) local function try_loadstring(s, component, name) local success, result = pcall(loadstring(s), name, _G.packer_plugins[name]) if not success then vim.schedule(function() vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {}) end) end return result end time([[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: nerdtree time([[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