nvim-neorocks / rocks.nvim

Neovim plugin management inspired by Cargo, powered by luarocks
GNU General Public License v3.0
378 stars 6 forks source link

Encountering error "attempt to call field 'vim.fs.joinpath' (a nil value)" using both script and manual installation #276

Closed marcsmerlin closed 4 weeks ago

marcsmerlin commented 4 weeks ago

I have tried to install rocks.nvim using both the installation script and manual installation with the same result: attempts to invoke vim.fs.joinpath fail because it is a nil value. Any help would be appreciated. - Marc

Version info: NVIM v0.9.5 Build type: Release LuaJIT 2.1.1692716794

Lua 5.4.6 Copyright (C) 1994-2023 Lua.org, PUC-Rio

/usr/local/bin/luarocks 3.11.0

Note: I get this warning/error when I invoke luarocks from the command line: sh: 1: cd: can't cd to /root/.luarocks/share/lua/5.4/luarocks/cmd/external

mrcjkb commented 4 weeks ago

Hey :wave:

This plugin currently requires neovim nightly.

marcsmerlin commented 4 weeks ago

My apologies for not paying close attention to the release requirement. Thanks!

On Sun, Apr 14, 2024 at 7:36 PM Marc Jakobi @.***> wrote:

Hey 👋

This plugin currently requires neovim nightly.

— Reply to this email directly, view it on GitHub https://github.com/nvim-neorocks/rocks.nvim/issues/276#issuecomment-2054222119, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASOQIIJZC4LTYIA6MUV7K23Y5MHINAVCNFSM6AAAAABGGLYIJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJUGIZDEMJRHE . You are receiving this because you authored the thread.Message ID: @.***>

mrcjkb commented 4 weeks ago

My apologies for not paying close attention to the release requirement. Thanks! … On Sun, Apr 14, 2024 at 7:36 PM Marc Jakobi @.> wrote: Hey 👋 This plugin currently requires neovim nightly. — Reply to this email directly, view it on GitHub <#276 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASOQIIJZC4LTYIA6MUV7K23Y5MHINAVCNFSM6AAAAABGGLYIJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJUGIZDEMJRHE . You are receiving this because you authored the thread.Message ID: @.>

No problem. It's easy to overlook something like that :smile: I've added a version check to the installer and plugin scripts (#277)